1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos, Yoga-2
cb6f3b698a Use bottle's SimpleTemplate engine to avoid XSS on welcome-page (#77).
- Add 1 TC.
- TODO: Probable XSS still in error-messages.
2015-02-22 18:43:35 +01:00
ankostis@kilo
c64b8c32d2 Allow to override welcome-msg(/) from a separate html file.
- Read welcome-msg in UTF-8.
- Add cmd-line option for `welcome-file`.
- Add TCs for welcome-file option and `/` http-req.
- Update docs for new option.
- Failback to in-code welcome-msg if unreadable (ie standalone mode, bad file).
2015-01-15 16:20:24 +01:00