Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#21352 closed Bug (invalid)

Reverse url failed because argument contains dot

Reported by: banti124@… Owned by: nobody
Component: Core (URLs) Version: 1.5
Severity: Release blocker Keywords: Urlresolver, escape special character, username regex
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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}))

Attachments (0)

Change History (4)

comment:1 Changed 8 months ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 follow-up: Changed 8 months ago by bmispelon

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 in reply to: ↑ 2 Changed 8 months ago by banti124@…

Replying to bmispelon:
Why this is marked invalid ?

comment:4 Changed 8 months ago 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.)

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.