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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Oct 16 11:07:16 EDT 2017


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, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list