##// END OF EJS Templates
fix traceback in hgweb when URL doesn't end in one of the archive specs...
fix traceback in hgweb when URL doesn't end in one of the archive specs If the last n charecters of the URL doesn't match an entry in archive_specs req.form never has a key 'type'. When achive() looks up 'type' in the form dict it causes a traceback rather than printing an error message.

File last commit:

r6138:09847b90 default
r6669:782dbbdf default
Show More
test-issue352.out
14 lines | 316 B | text/plain | TextLexer
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
f he llo he llo
f hell
o hell
o