lp:~mkanat/loggerhead/raw-prefix
Created by
Max Kanat-Alexander
and last modified
- Get this branch:
- bzr branch lp:~mkanat/loggerhead/raw-prefix
Only
Max Kanat-Alexander
can upload to this branch. If you are
Max Kanat-Alexander
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Martin Pool: Approve
-
Diff: 152 lines (+70/-2)3 files modifieddocs/serve-branches.rst (+18/-1)
loggerhead/apps/transport.py (+46/-1)
loggerhead/config.py (+6/-0)
Related bugs
Bug #605775: Loggerhead doesn't support linking to the raw content | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 442. By Max Kanat-Alexander
-
Setting --prefix was overriding --raw-prefix, due to a bug.
Also make it clear that --raw-prefix should not include --prefix at the end. - 441. By Max Kanat-Alexander
-
Add the ability to use %branch% in --raw-prefix, to have per-branch URLs.
- 440. By Max Kanat-Alexander
-
Add --raw-prefix, for serving /raw/ files from a different domain, giving
XSS protection against unknown file content. - 437. By Max Kanat-Alexander
-
Make raw_ui send X-Content-
Type-Options: nosniff so IE doesn't try to run
text/plain as HTML. - 436. By Max Kanat-Alexander
-
Use bzrlib.
textfile. check_file_ lines as a poor man's mime detector when we
can't guess the mime-type from the file name. - 434. By Max Kanat-Alexander
-
Refactor in preparation for adding the Raw controller. This simplifies getting
file information and sending output with no template. - 433. By Max Kanat-Alexander
-
Create a new "view" controller, and have that be the default view of a file.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:loggerhead