This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: when unpacking args from request form, convert to bytes
ClosedPublic

Authored by durin42 on Oct 16 2017, 9:51 AM.

Details

Summary

We assume http-originated values are ASCII, which should be safe based
on the RFC.

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

durin42 created this revision.Oct 16 2017, 9:51 AM
yuja accepted this revision.Oct 16 2017, 11:01 AM
This revision is now accepted and ready to land.Oct 16 2017, 11:01 AM
This revision was automatically updated to reflect the committed changes.