lp:~dooferlad/linaro-license-protection/unicode-fix
Created by
James Tunnicliffe
and last modified
- Get this branch:
- bzr branch lp:~dooferlad/linaro-license-protection/unicode-fix
Only
James Tunnicliffe
can upload to this branch. If you are
James Tunnicliffe
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Stevan Radaković: Approve
-
Diff: 36 lines (+4/-1)1 file modifiedlicense_protected_downloads/views.py (+4/-1)
Branch information
Recent revisions
- 180. By James Tunnicliffe
-
I think this is what was causing recent problems on snapshots (unicode in URLs):
https:/
/docs.djangopro ject.com/ en/1.3/ ref/unicode/
URI and IRI handling
Web frameworks have to deal with URLs (which are a type of IRI). One requirement of URLs is that they are encoded using only ASCII characters. However, in an international environment, you might need to construct a URL from an IRI – very loosely speaking, a URI that can contain Unicode characters. Quoting and converting an IRI to URI can be a little tricky, so Django provides some assistance.Have appled the supplied conversion function. Will test once on staging (the dev server doesn't suffer from the problem).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)