Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion URLValidator on urls without protocol
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Karen Tracey  
View profile  
 More options Nov 18 2012, 12:33 am
From: Karen Tracey <kmtra...@gmail.com>
Date: Sun, 18 Nov 2012 00:32:46 -0500
Local: Sun, Nov 18 2012 12:32 am
Subject: Re: URLValidator on urls without protocol

On Sun, Nov 18, 2012 at 12:21 AM, Jared Martin <jaredtmar...@gmail.com>wrote:

> I don't mean to wake a dead dog, but what has become of this? I came
> across this problem today. For now, I've subclassed. But it should be
> fixed, right?

Yes, it should be fixed. Per the ticket referenced it was fixed two years
ago. The specific scenario showin in the ticket is fixed:

Python 2.7.3 (default, Aug  1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import django
>>> django.get_version()
'1.4.2'
>>> from django.forms import URLField
>>> f = URLField()
>>> f.clean('www.example.com/://')

u'http://www.example.com/://'


So what do you mean, exactly, that you came across it today? What exactly
is failing unexpectedly and on what version of Django?

> On Sunday, June 20, 2010 7:35:23 PM UTC-6, Samus_ wrote:

>> ticket: http://code.djangoproject.com/**ticket/13804<http://code.djangoproject.com/ticket/13804>

>> also found a real-life scenario when this feature of the RFC is
>> implemented, the site reddit.com uses it for a shortcut that
>> searchs/submits links to their website, example:
>> http://www.reddit.com/s/http:/**/code.djangoproject.com/**ticket/13804<http://www.reddit.com/s/http://code.djangoproject.com/ticket/13804>

>> On Sat, Jun 12, 2010 at 7:42 AM, MIL <need...@gmail.com> wrote:

>>> I was the guy that brought it up on #django
>>> And I would like to follow this thread.

>>> Thanks :o)

>>> Michael Hjulskov


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.