Mercurial > hg
comparison tests/test-single-head.t @ 39470:17ca967e9fca
hgweb: map Abort to 403 error to report inaccessible path for example
Abort is so common in our codebase. We could instead introduce a dedicated
type for path auditing errors, but we'll probably have to catch error.Abort
anyway.
As you can see, an abort message may include a full path to the repository,
which might be considered information leak. If that matters, we should hide
the message and send it to the server log instead.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 26 Aug 2018 22:23:25 +0900 |
parents | 128dd940bedc |
children | 43d3b09b3e5a |
comparison
equal
deleted
inserted
replaced
39469:1a786fe069b8 | 39470:17ca967e9fca |
---|