Page MenuHomePhabricator

hgweb: use parsebool for parsing diff query string options
ClosedPublic

Authored by indygreg on Oct 1 2017, 7:39 AM.

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

indygreg created this revision.Oct 1 2017, 7:39 AM
simpkins accepted this revision.Oct 1 2017, 7:51 AM
yuja accepted this revision.Oct 1 2017, 9:26 AM
yuja added a subscriber: yuja.
yuja added inline comments.
mercurial/hgweb/webutil.py
181

It might be better to ignore an invalid boolean, instead of falling back to True.

This revision is now accepted and ready to land.Oct 1 2017, 9:26 AM
This revision was automatically updated to reflect the committed changes.