D1112: hgweb: fix decodevaluefromheaders to always return a bytes value

2017-10-16 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0a2ef612ad50: hgweb: fix decodevaluefromheaders to always return a bytes value (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org

D1112: hgweb: fix decodevaluefromheaders to always return a bytes value

2017-10-16 Thread yuja (Yuya Nishihara)
yuja added a comment. Perhaps bytesurl()/strurl() should be renamed to e.g. asciibytes()/asciistr() since we've started using them everywhere non-ascii character must be rejected. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1112 To: durin42, #hg-reviewers,

D1112: hgweb: fix decodevaluefromheaders to always return a bytes value

2017-10-16 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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. REPOSITORY rHG Mercurial REVISIO