diff options
author | Mantas <sirexas@gmail.com> | 2020-09-29 16:11:15 +0300 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2020-12-31 16:34:08 +0100 |
commit | cf53eabff29edf3f5486c551fb3e6a510e641a29 (patch) | |
tree | 96062ddeb14ffd2f0a1d3566600ac812bbc557c8 /test/test_sendfile.py | |
parent | 207d51d9a3bb2ae7a9732a686355ab89acc38ac7 (diff) | |
download | bottle-cf53eabff29edf3f5486c551fb3e6a510e641a29.tar.gz |
Add tests for #602 bug
It looks that #602 is gone, but I'm not sure when exactly it was fixed.
I see that there is a suspicious change [here](https://github.com/bottlepy/bottle/commit/d85a6983ceedacd9ab9afbcd027139d8773b67ac):
environ['PATH_INFO'] = path.encode('latin1').decode('utf8', 'ignore')
Where original cause of the error was removed and replaced by `'ignore'`.
Also fixed deprecation warnings, where:
@self.subapp.route('')
Does exactly same thing as this:
@self.subapp.route('/test/<test>')
Where `''` is passed to `route()`, then `makelist()` utility assumes that nothing is passed and falls back to path autogeneration from callbackf unction. Not sure if this is expected behaviour?
Diffstat (limited to 'test/test_sendfile.py')
0 files changed, 0 insertions, 0 deletions