#6218: Require trailing slash always on MEDIA_URL ----------------------------------------------------------------+----------- Reporter: Michael Toomim <too...@cs.washington.edu> | Owner: Status: new | Milestone: Component: Core framework | Version: SVN Resolution: | Keywords: easy-pickings Stage: Design decision needed | Has_patch: 1 Needs_docs: 1 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------------------------------+----------- Changes (by SmileyChris):
* owner: SmileyChris => * stage: Accepted => Design decision needed Comment: If a project had the following setting: {{{MEDIA_URL = 'http://media.foo.com'}}} And a template which looks like: {{{<link rel="stylesheet" href="{{ MEDIA_URL }}/css/main.css" type="text/css" />}}} Then this change will silently alter their css reference to `http://media.foo.com//css/main.css` In any case, I've put up a patch of how I'd prefer to see this issue resolved. -- Ticket URL: <http://code.djangoproject.com/ticket/6218#comment:14> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.