lp://staging/~wgrant/loggerhead/bug-740142
Created by
William Grant
and last modified
- Get this branch:
- bzr branch lp://staging/~wgrant/loggerhead/bug-740142
Only
William Grant
can upload to this branch. If you are
William Grant
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Robert Collins: Approve
-
Diff: 247 lines (+96/-21)6 files modifiedloggerhead/controllers/view_ui.py (+1/-2)
loggerhead/templatefunctions.py (+20/-12)
loggerhead/tests/__init__.py (+1/-0)
loggerhead/tests/test_simple.py (+7/-3)
loggerhead/tests/test_util.py (+33/-0)
loggerhead/util.py (+34/-4)
Related bugs
Bug #740142: persistent xss vector in (unescaped) filenames in revision views | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 445. By William Grant
-
add html_format, taking a format string and escaping arguments as they are inserted.
- 443. By William Grant
-
Use html_escape everywhere, escape a couple more places, and properly URL-encode filenames.
- 442. By William Grant
-
Add an html_escape function, like cgi.escape except useful for attribute values too.
- 441. By John A Meinel
-
include HeadMiddleware so that we can be sure HEAD requests never return BODY content.
- 439. By John A Meinel
-
Merge the page-loading change.
When /changes page is loaded, don't walk the whole ancestry during 'get_revids_from'.
Instead, only walk enough history to generate the actual page, plus a little bit more
to get the link for the 'next' page.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/loggerhead