Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2015-01-06 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
-+-
 Reporter:  marshall@…   |Owner:  Tim
 |  Graham 
 Type:  Bug  |   Status:  closed
Component:  Core (Other) |  Version:  1.5
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  URLValidator | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham ):

 * owner:   => Tim Graham 
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"2e65d56156b622e2393dee1af66e9c799a51924f"]:
 {{{
 #!CommitTicketReference repository=""
 revision="2e65d56156b622e2393dee1af66e9c799a51924f"
 Fixed #20003 -- Improved and extended URLValidator

 This adds support for authentication data (`user:password`) in URLs,
 IPv6 addresses, and unicode domains.

 The test suite has been improved by adding test URLs from
 http://mathiasbynens.be/demo/url-regex (with a few adjustments,
 like allowing local and reserved IPs).

 The previous URL validation regex failed this test suite on 13
 occasions, the validator was updated based on
 https://gist.github.com/dperini/729294.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.0456411d270973441708f78b5c9eb110%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-12-14 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by dbrgn):

 I left some comments as well.

 Any opinions on the proposed RegEx simplifications?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.2bfbe5ae6712645b3305ac794f68d3af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-11-30 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by loic):

 Left some comments on the PR.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.22fa82f48c96d4bd3537945ce2223351%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-11-03 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by dbrgn):

 * needs_better_patch:  1 => 0


Comment:

 Pull request has been updated. All tests now pass on all supported Python
 versions.

 https://github.com/django/django/pull/2873

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.8a95a9bc25bee1da9215dd9577fa3fec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-29 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 Some tests on Python 3 are failing.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.57a2a21c10e4c8e2497966189fee1ef7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-18 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by dbrgn):

 * needs_better_patch:  1 => 0


Comment:

 I think I fixed it:
 https://github.com/django/django/pull/2873#issuecomment-52542276

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.81fe5e2ad90b7ddd8f1abf0177630b97%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-15 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 The proposed change appears vulnerable to the "catastrophic backtracking
 situation" described in 9f8287a3f145fe5cbe71ef5573ea8898404727ad as the
 test added there now hangs with the proposed changes. This is one reason
 I'm reluctant to add regex complexity.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.39c74cf23879fa493ce65e00416b90a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-15 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by dbrgn):

 @collinanderson I don't think so. The job of the URLValidator is to test
 whether an URL is valid according to some RFCs, not to decide whether a
 specific URL is a good idea in a specific case :)

 It could have been a security issue if `verify_exists` were still
 available (e.g. because the credentials would show up in network traffic),
 but as this functionality has been removed in 1.5 that's not a concern
 anymore.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.13ccd99fde10593a090e61fdac78da19%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-14 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by collinanderson):

 Are there possibly any security issues with including a username in the
 url?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.329b27312a1f4237110c713a3c4927a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-14 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by claudep):

 I'm on Danilo's side on this issue, I don't see why we wouldn't improve
 the regex if we have a good patch with solid tests.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.eede5ff8e6226707ebda3bd36ea29588%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-14 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by dbrgn):

 If that is the plan, the documentation really does need an update. The
 validator claims to validate URLs. Most people who use the URL Validator
 assume it will validate URLs. But in the current state it is broken and
 does not. It would be fine if it would consider some invalid URL edge
 cases valid (meaning it's not too strict), but if it returns a
 ValidationError for perfectly valid URLs, that's a clear bug to me.

 Even if you look online for other ways to validate URLs in Python, you get
 pointed to the Django implementation:
 http://stackoverflow.com/q/7160737/284318

 I think this is a bug that should be addressed somehow. Either by a fix
 (possibly with a different implementation than the approach I took) or by
 a deprecation of the validator.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.4732403e7acbef6711b9802e0ca56394%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-08-14 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by timgraham):

 Florian and I (and some other core devs I think) are wary of continuing to
 expand the regex for every use case out there. The validator allows
 specifying a custom `regex` and I think we should consider discontinuing
 "enhancements" to the core regex and let users bring their own as needed.
 If we go this route, we should beef up the documentation about what is and
 isn't supported by default.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.5f59a5f3dccf811211ad7ced84ee5287%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2014-07-02 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by dbrgn):

 * owner:  matiasb =>
 * needs_better_patch:  1 => 0
 * status:  assigned => new


Comment:

 Another attempt at fixing this issue (including an extended test suite):
 https://github.com/django/django/pull/2873

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.a2e553dbb98bfd834e0abcfa9530f108%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-11-29 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by dbrgn):

 * cc: gezuru@… (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.284e0b0f226d265d8a9727369de2d3a8%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-11-29 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+

Comment (by dbrgn):

 These URLs could be used for a thorough test case:
 http://mathiasbynens.be/demo/url-regex

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.650d9d5c910a63ffa687c03410bbeef6%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-11-29 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+

Comment (by aaugustin):

 #21532 was a duplicate.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.cd07a555ec6f0de6b91230dac94beb92%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-08-06 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timo):

 * needs_better_patch:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.a538164f2b220b4bd5d175677e0433ea%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-05-18 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by apollo13):

 See my comments on the pull request
 (https://github.com/django/django/pull/998#issuecomment-18097508)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-04-06 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by matiasb):

 * has_patch:  0 => 1


Comment:

 Proposed update: https://github.com/django/django/pull/998
 Tests passing with sqlite.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-04-03 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  matiasb
 Type:  Bug   |   Status:  assigned
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by matiasb):

 * status:  new => assigned
 * owner:  nobody => matiasb


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-03-15 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
--+
 Reporter:  marshall@…|Owner:  nobody
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.5
 Severity:  Normal|   Resolution:
 Keywords:  URLValidator  | Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by aaugustin):

 * component:  Uncategorized => Core (Other)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-03-07 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
---+
 Reporter:  marshall@… |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords:  URLValidator   | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by ptone):

 * stage:  Unreviewed => Accepted


Comment:

 http://url.spec.whatwg.org/#concept-url-userinfo

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-03-07 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
---+--
 Reporter:  marshall@… |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords:  URLValidator   | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by marshall@…):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Sorry, readline munged the display, what you should see for the first two
 lines are:

 {{{
 In [1]: from django.core.validators import URLValidator

 In [2]: URLValidator()('https://user:p...@domain.com')
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #20003: URLValidator does not accept urls with usernames or passwords in them

2013-03-07 Thread Django
#20003: URLValidator does not accept urls with usernames or passwords in them
---+--
 Reporter:  marshall@… |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Uncategorized  |Version:  1.5
 Severity:  Normal |   Keywords:  URLValidator
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+--
 {{{
 In [1]: URLValidator()('https://user:pass@from django.core.validators
 import URLValidator

 In [2]: from django.core.validators
 importURLValidator()('https://user:p...@domain.com')
 ---
 ValidationError   Traceback (most recent call
 last)
  in ()
 > 1 URLValidator()('https://user:p...@domain.com')

 /Users/marshall/.virtualenvs/django/lib/python2.7/site-
 packages/django/core/validators.pyc in __call__(self, value)
  72 raise e
  73 url = urlparse.urlunsplit((scheme, netloc, path,
 query, fragment))
 ---> 74 super(URLValidator, self).__call__(url)
  75 else:
  76 raise

 /Users/marshall/.virtualenvs/django/lib/python2.7/site-
 packages/django/core/validators.pyc in __call__(self, value)
  42 """
  43 if not self.regex.search(smart_unicode(value)):
 ---> 44 raise ValidationError(self.message, code=self.code)
  45
  46 class URLValidator(RegexValidator):

 ValidationError: [u'Enter a valid value.']
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.