Fix URL errors when configuring extensions in the presence of SITE_ROOT

Review Request #4892 — Created Nov. 4, 2013 and submitted

Information

Djblets
release-0.7.x

Reviewers

Fix URL errors when configuring extensions in the presence of SITE_ROOT

The extension framework used str.lstrip() to try to strip off the SITE_ROOT
from the admin URL root, but the problem with that is that lstrip takes in a
set of characters, not a string. If that set of characters included "a" and "d"
(for example, if SITE_ROOT is "/reviewboard/"), it would remove those
characters from the beginning of "admin/...".

 
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (d207b10).
Loading...