D965: templatefilters: be sure we always feed cgi.escape a str

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Oct 6 10:55:50 EDT 2017


yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.


  sysstr -> sysbytes can't be round-trip if non-ascii characters are involved.
  
  Perhaps we can just vendor cgi.escape() and add b'' to every string.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D965

To: durin42, #hg-reviewers, pulkit, indygreg, yuja
Cc: yuja, indygreg, pulkit, mercurial-devel


More information about the Mercurial-devel mailing list