Opened 18 years ago
Closed 18 years ago
#1881 closed task (wontfix)
ismap & reuslting url not supported
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | minor | 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
django does not convert urls coming from html's ismap like:
<a href="."><img src="/static/map.jpg" ismap></a>
resulting url:
http://localhost:8080/map/?332,179
to any usful request-data.
Note:
See TracTickets
for help on using tickets.
You can get this information from
request.META['QUERY_STRING']
in a view function. We cannot really handle it at a higher level without knowing to expect a imagemap call, whereas your view will already know that it will be getting a query string of this form. So the information is made available and it's up to your view function to deal with it further if you need to.