Opened 13 years ago
Last modified 13 years ago
#19532 closed Bug
URL encoding error in set_script_prefix — at Version 1
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (URLs) | Version: | 1.5-beta-1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
We found this as a regression bug when we switched to using django 1.5.
We were generating a fully qualified url to be used as a link within an email, by doing
set_script_prefix('http://%s' % self.domain)
The url with this prefix was generated fine with django 1.4.3, but with 1.5, the url was turned into 'http%3A...'
Change History (1)
comment:1 by , 13 years ago
| Description: | modified (diff) |
|---|---|
| Severity: | Normal → Release blocker |
| Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
Clearly, this isn't the intended use of
set_script_prefix.However, we should find out which commit introduced this change and ensure that it was done for a good reason (rather than by accident).