This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: don't use raw string for session vars
ClosedPublic

Authored by indygreg on Jan 22 2019, 9:45 PM.

Details

Summary

This r'' is leaking into the templating layer and causing an
assertion failure.

The r'' was added in d1fccbd50fcd (October 2017). Similar code
in hgweb_mod.py was also changed in that changeset. hgweb_mod.py was
updated in ec46415ed826 (March 2018) to use webutil.sessionvars(),
which doesn't use raw strings.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Jan 22 2019, 9:45 PM
This revision was automatically updated to reflect the committed changes.