summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release of 0.12.250.12.25release-0.12Marcel Hellkamp2023-03-041-1/+1
|
* Reduce deprectation warnings during testsMarcel Hellkamp2023-03-046-11/+11
|
* Adjusts the test_server 'fetch' method to disable proxying within test cases ↵James Addison2023-03-041-3/+5
| | | | where it is used
* fix #1194: Regular expression catastrophic backtracking in ↵Aaron Taylor2023-03-041-1/+1
| | | | | | | | | | bottle.Router.rule_syntax This backports the patch from aaee93a5b1dfc78cb9119797df5c766a53872c5b to the 0.12 release branch. This fix can be validated with the following command from the issue: python -c "import bottle; list(bottle.Router.rule_syntax.finditer('<abc:def:' + '.' * 64 + '<'))"
* fix #1155: Catastrophic backtracking issue in template parser.Aaron Taylor2023-03-041-1/+1
| | | | | | | | | | | Related to #1194 This backports the patch from 332215b2b1b3de5a321ba9f3497777fc93662893 to the 0.12 release branch. This fix can be validated using the following repl commands: >>> import bottle >>> bottle.template("""<img src="{{usar_webp(''/static/images/branco400.jpg')}}" alt="Sem imagem"/>""")
* Fix release task in MakefileMarcel Hellkamp2023-02-271-1/+1
|
* fix: Raising HTTPResponse should not bypass JsonPluginMarcel Hellkamp2023-02-271-1/+1
|
* Release of 0.12.240.12.24Marcel Hellkamp2023-02-211-1/+1
|
* fix #1111: Unicode multipart/form-data values in python3Marcel Hellkamp2023-02-212-3/+9
| | | | | | Multipart form uploads are not affected by the WSGI/PEP-3333 'latin1' default encoding quirk and already properly decoded as utf8, so we have to disable FormsDict.recode_unicode for these.
* fix: Route.get_config typoMarcel Hellkamp2022-10-041-1/+1
|
* Fix fapws3 linkMarcel Hellkamp2022-09-052-2/+2
|
* Release of 0.12.230.12.23Marcel Hellkamp2022-08-031-1/+1
|
* fix: Include keyword-only-args in getarcspec() polyfillMarcel Hellkamp2022-08-031-1/+6
|
* Release of 0.12.220.12.22Marcel Hellkamp2022-08-031-1/+1
| | | | | - Python 3.11 support - Test suite cleanup
* fix: Jinja2 and mako test path issuesMarcel Hellkamp2022-06-132-8/+13
|
* getargspec is gone in python 3.11Carl Drougge2022-06-131-1/+2
| | | | so use getfullargspec on all 3.x versions instead.
* fix: view decorator does not forward default values if route result is NoneMarcel Hellkamp2022-06-121-1/+1
|
* fix: Make tests runnable with both unittest and pytestMarcel Hellkamp2022-06-1217-130/+56
| | | | | The old test method (test/testall.py) was broken. Travis was removed, because it does not support py25 anymore anyway.
* fix: Cookie test falsely reports a failure for some python versions.Marcel Hellkamp2022-06-121-1/+1
|
* Release of 0.12.210.12.21Marcel Hellkamp2022-05-261-1/+1
|
* Fix: Bad deprecation warning in cherrypy server adapterMarcel Hellkamp2022-05-261-3/+3
|
* Release of 0.12.200.12.20Marcel Hellkamp2022-05-261-1/+1
| | | | | This release contains a security fix. Thanks Elton Nokaj for responsibly reporting this issue.
* Merge branch 'release-0.12+cheroot' of https://github.com/juergh/bottle into ↵Marcel Hellkamp2022-05-261-2/+28
|\ | | | | | | release-0.12
| * Added depr warning for the outdated cherrypy server adapter.Marcel Hellkamp2022-05-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you are using this adapter, simply switch to 'cheroot' This should fix some recent and some very old issues regarding cherrypy: fix #947 Leave explicit the maxima version supported the CherryPy (<= 9.0.0) fix #932 Add ServerAdapter (fix CherryPy ServerAdapter) fix #685 Update CherryPy SSL to use latest API and work on Py3 fix #574 Allow custom bind_addr for CherryPy (backported from commit be90814117008e6f19a2d8d5c67b876787888aa6) [juergh: Adjust context, drop modifications of test/travis-requirements.txt which does not exist in 0.12.] Signed-off-by: Juerg Haefliger <juergh@protonmail.com>
| * Added 'cheroot' server adapter to list of server names, so it can be ↵Marcel Hellkamp2022-05-241-1/+4
| | | | | | | | | | | | | | | | | | | | selected from the command line and by name. Alos added cheroot after cherrypy in the 'auto' adapter to make it future proof. (backported from commit 617d08a2ccca95b2e8668fef7057127049595fd9) [juergh: Adjust context.] Signed-off-by: Juerg Haefliger <juergh@protonmail.com>
| * Add ServerAdapter for CherryPy >= 9061803392022-05-241-0/+19
| | | | | | | | | | | | | | Since CherryPy >= 9, the server part of CherryPy has been extracted and named Cheroot. Thus the old CherryPy ServerAdapter does not work for CherryPy >= 9: the import fails, and the SSL part should be different too. Cheroot can be installed (git install cheroot) without CherryPy so that we can just have a CherootServer adapter in addition to the CherryPyServer adapter for the older versions. (cherry picked from commit b9229eef97ea246e3d0e0c455071d54435a1557d) Signed-off-by: Juerg Haefliger <juergh@protonmail.com>
* | Gracefully handle errors during early request binding.Marcel Hellkamp2022-05-261-7/+9
|/
* Fix for Issue #586Alice Goldfuss2021-07-071-0/+1
|
* Fix: Multipart file uploads with empty filename not detected as binary.Marcel Hellkamp2021-07-071-3/+3
|
* Release of 0.12.190.12.19Marcel Hellkamp2020-11-111-1/+1
|
* Do not split query strings on `;` anymore.Marcel Hellkamp2020-11-111-1/+1
| | | | | | | | Using `;` as a separator instead of `&` was allowed a long time ago, but is now obsolete and actually invalid according to the 2014 W3C recommendations. Even if this change is technically backwards-incompatible, no real-world application should depend on broken behavior. If you REALLY need this functionality, monkey-patch the _parse_qsl() function.
* Fix the Allow: header value in 405 "Method not allowed." response.Remi Gacogne2020-06-021-1/+1
|
* Fix release steps in makefileMarcel Hellkamp2019-12-011-2/+2
|
* Release of 0.12.180.12.18Marcel Hellkamp2019-12-011-1/+1
| | | | Bugfix release to improve Python 3.8+ support
* Update build steps in makefileMarcel Hellkamp2019-12-011-8/+17
|
* fix #1181: digestmod parameter is now required since Python 3.8Marcel Hellkamp2019-12-011-3/+3
| | | | Previous fix did not work
* Fix: Two import-level DeprecationWarnings in 3.8Marcel Hellkamp2019-12-011-3/+9
|
* fix #1181: digestmod parameter is now required since Python 3.8Marcel Hellkamp2019-12-011-2/+2
|
* #1177 Bug fix of missing regex escaped back slashesAndrew Hendley2019-11-121-2/+2
|
* Release of 0.12.17 (bugfix)0.12.17Marcel Hellkamp2019-06-231-1/+1
| | | | Fixed #1148: Unicode in str header values (py3 only)
* fix #1148: redirect() and non-ascii charactersMarcel Hellkamp2019-06-201-3/+5
| | | | Backported from master
* Release of 0.12.16 (bugfix)0.12.16Marcel Hellkamp2018-12-131-1/+1
|
* fix #1115: Some modules set __file__ as NoneMarcel Hellkamp2018-12-131-1/+1
| | | | | This is not allowed (the __file__ attribute MUST be either a string, or unset), but seems to happen anyway and is easy to work around in bottle.
* Added .idea/ to gitignoreMarcel Hellkamp2018-12-011-0/+1
|
* Added Python 3.4-3.7 language classifiersMarcel Hellkamp2018-12-011-3/+4
|
* Release of 0.12.15 (bugfix)0.12.15Marcel Hellkamp2018-12-011-2/+2
| | | | fix #949: DeprecationWarning: Flags not at the start of the expression
* Fix #930: DeprecationWarning: Flags not at the start of the expressionMarcel Hellkamp2018-12-011-3/+4
| | | | Backported from 0.13-dev
* Fix python 2.5 test buildMarcel Hellkamp2018-12-011-1/+1
|
* Release of 0.12.14 (Bugfix)0.12.14Marcel Hellkamp2018-11-271-1/+1
|
* fix #1065 gevent-1.3.0 removes 'fast' wsgi implementation.Marcel Hellkamp2018-11-271-4/+6
|