That's more in line with what we want, and we know it's ASCII data
since that's all HTTP technically allows in headers anyway.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG0a2ef612ad50: hgweb: fix decodevaluefromheaders to always return a bytes value
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Perhaps bytesurl()/strurl() should be renamed to e.g. asciibytes()/asciistr()
since we've started using them everywhere non-ascii character must be rejected.