Index: dashboard/svn-log |
=================================================================== |
--- dashboard/svn-log (revision 266199) |
+++ dashboard/svn-log (working copy) |
@@ -15,7 +15,10 @@ |
not (options['url'].startswith('http://src.chromium.org/svn/') or |
options['url'].startswith('http://webrtc.googlecode.com/svn/') or |
options['url'].startswith('http://v8.googlecode.com/svn/')) or |
- not re.match(r'^(\d+):(\d+)$', options['range'])): |
+ not (re.match(r'^(\d+):(\d+)$', options['range']) or |
+ re.match(r'^{(\d{4}-(1[0-2]|0?[1-9])-(3[01]|[12][0-9]|0?[1-9]))}' |
+ ':{(\d{4}-(1[0-2]|0?[1-9])-(3[01]|[12][0-9]|0?[1-9]))}$', |
reveman
2014/04/25 21:46:28
fyi, this is not perfect. ie. it doesn't complain
|
+ options['range']))): |
print 'Content-Type: text/html' |
print '' |
print '' |