Commits

ben...@pollen  committed d128cc8

fix.

  • Participants
  • Parent commits 9df178b

Comments (0)

Files changed (1)

File friendpaste/application.py

 
         # get paste privacy here
         cur_path = [p for p in request.path.split('/') if p]
-        if cur_path and cur_path[0] not in OTHER_PATHS and "_" not in cur_path[0]:
+        if cur_path and cur_path[0] not in OTHER_PATHS and \
+                "_" not in cur_path[0] and "." not in cur_path[0]:
             pasteid = UUID(int=b62decode(cur_path[0])).hex
             request.pasteid = cur_path[0]
             request.privacy = Privacy.for_paste(local.db, pasteid)