#11551: URL not parsing file locator ----------------------------+----------------------------------------------- Reporter: adamnelson | Owner: nobody Status: new | Milestone: 1.2 Component: Forms | Version: 1.0 Keywords: validation url | Stage: Unreviewed Has_patch: 0 | ----------------------------+----------------------------------------------- == Issue ==
When trying to save a form, the error 'Enter a valid URL.' appears for file:///Users/adam/blah.html == Expected == Either an error "file:// is not valid" should appear (for safety reasons?) or it should be allowed. The generic error message isn't true because file:// is a valid URL descriptor. == Resolution == I've attached a preliminary patch. Ideally we would use a library but I see that there's not easy and robust way to do this with standard Python. -- Ticket URL: <http://code.djangoproject.com/ticket/11551> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
