changeset 8135:06b216292e6b

<oerjan> revert 8132
author HackBot
date Wed, 25 May 2016 01:37:32 +0000
parents 0c0ed6dacf33
children a33356304892
files bin/url paste/paste.25289
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/url	Wed May 25 01:35:31 2016 +0000
+++ b/bin/url	Wed May 25 01:37:32 2016 +0000
@@ -5,7 +5,7 @@
 else:
     f = os.path.abspath(sys.argv[1])
     f = re.sub(r"^/+hackenv/", "", f)
-    if re.match(r"/|\(?:.hg|tmp)(?:/|$)",f):
+    if re.match(r"/|\.hg(?:/|$)",f):
         sys.exit("File is outside web-viewable filesystem repository.")
     else:
         print ("http://codu.org/projects/hackbot/fshg/index.cgi/file/tip/" +
--- a/paste/paste.25289	Wed May 25 01:35:31 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-papaya