This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: don't responsd to api requests unless feature is enabled
ClosedPublic

Authored by indygreg on Mar 23 2018, 2:20 PM.

Details

Summary

Per discussion at https://phab.mercurial-scm.org/D2834, new URLs
in hgweb can conflict with subrepos and virtual repos. This may prevent
access to repos in certain paths or having certain names.

Until we have a workaround for this, let's not serve requests for
"api/" URLs unless the feature is enabled.

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.Mar 23 2018, 2:20 PM
yuja accepted this revision.Mar 23 2018, 10:57 PM
This revision is now accepted and ready to land.Mar 23 2018, 10:57 PM
yuja added a comment.Mar 23 2018, 10:57 PM

Queued, many thanks.

This revision was automatically updated to reflect the committed changes.