[Django] #21352: Reverse url failed because argument contains dot

26 views
Skip to first unread message

Django

unread,
Oct 30, 2013, 5:17:44 AM10/30/13
to django-...@googlegroups.com
#21352: Reverse url failed because argument contains dot
-------------------------+-------------------------------------------------
Reporter: | Owner: nobody
banti124@… | Status: new
Type: Bug | Version: 1.5
Component: Core | Keywords: Urlresolver, escape special
(URLs) | character, username regex
Severity: Release | Has patch: 0
blocker | UI/UX: 0
Triage Stage: |
Unreviewed |
Easy pickings: 0 |
-------------------------+-------------------------------------------------
Exception Value:
Reverse for 'user-home' with arguments '()' and keyword arguments
'{'usernameinurl': u'shubham.kr619'}' not found.
At this line :
return redirect(reverse('user:user-
home',kwargs={'usernameinurl':request.user.username}))

--
Ticket URL: <https://code.djangoproject.com/ticket/21352>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 30, 2013, 5:51:26 AM10/30/13
to django-...@googlegroups.com
#21352: Reverse url failed because argument contains dot
-------------------------------------+-------------------------------------
Reporter: banti124@… | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: 1.5
Severity: Release blocker | Resolution:
Keywords: Urlresolver, escape | Triage Stage:
special character, username regex | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

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


Comment:

Please see TicketClosingReasons/UseSupportChannels. Thank you.

--
Ticket URL: <https://code.djangoproject.com/ticket/21352#comment:1>

Django

unread,
Oct 30, 2013, 6:21:48 AM10/30/13
to django-...@googlegroups.com
#21352: Reverse url failed because argument contains dot
-------------------------------------+-------------------------------------
Reporter: banti124@… | Owner: nobody
Type: Bug | Status: closed

Component: Core (URLs) | Version: 1.5
Severity: Release blocker | Resolution: invalid

Keywords: Urlresolver, escape | Triage Stage:
special character, username regex | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bmispelon):

* status: new => closed
* resolution: => invalid


--
Ticket URL: <https://code.djangoproject.com/ticket/21352#comment:2>

Django

unread,
Oct 30, 2013, 6:43:59 AM10/30/13
to django-...@googlegroups.com
#21352: Reverse url failed because argument contains dot
-------------------------------------+-------------------------------------
Reporter: banti124@… | Owner: nobody
Type: Bug | Status: closed
Component: Core (URLs) | Version: 1.5
Severity: Release blocker | Resolution: invalid
Keywords: Urlresolver, escape | Triage Stage:
special character, username regex | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by banti124@…):

Replying to [comment:2 bmispelon]:
Why this is marked invalid ?

--
Ticket URL: <https://code.djangoproject.com/ticket/21352#comment:3>

Django

unread,
Oct 30, 2013, 6:54:31 AM10/30/13
to django-...@googlegroups.com
#21352: Reverse url failed because argument contains dot
-------------------------------------+-------------------------------------
Reporter: banti124@… | Owner: nobody
Type: Bug | Status: closed
Component: Core (URLs) | Version: 1.5
Severity: Release blocker | Resolution: invalid
Keywords: Urlresolver, escape | Triage Stage:
special character, username regex | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by aaugustin):

Because it's a bug in your code, not in Django, as explained in my first
comment.

(I forgot to close the ticket and Baptiste did it for me.)

--
Ticket URL: <https://code.djangoproject.com/ticket/21352#comment:4>

Reply all
Reply to author
Forward
0 new messages