Show More
@@ -660,6 +660,8 b' class hgweb(object):' | |||||
660 |
|
660 | |||
661 | pi = req.env.get('PATH_INFO') |
|
661 | pi = req.env.get('PATH_INFO') | |
662 | if pi: |
|
662 | if pi: | |
|
663 | while pi.startswith('//'): | |||
|
664 | pi = pi[1:] | |||
663 | if pi.startswith(base): |
|
665 | if pi.startswith(base): | |
664 | if len(pi) > len(base): |
|
666 | if len(pi) > len(base): | |
665 | base += '/' |
|
667 | base += '/' |
General Comments 0
You need to be logged in to leave comments.
Login now