#29143: IntConverter does not accept negative integers
-------------------------------------+-------------------------------------
               Reporter:  Ashish     |          Owner:  nobody
  Patil                              |
                   Type:  Bug        |         Status:  assigned
              Component:  Core       |        Version:  2.0
  (URLs)                             |       Keywords:
               Severity:  Normal     |  IntConverter,url,path
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Paths like
 {{{
 '/int/<int:integer>/'
 }}}
 do not accept negative integers, i.e.
 {{{
 '/int/-2/'
 }}}
 fails with a 404, which it should not (since -2 ''is'' an integer).

 PS - Attributed to this StackOverflow question for discovery and potential
 fix : https://stackoverflow.com/questions/48867977/django-2-url-path-
 matching-negative-value

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29143>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/059.6f875306baf8cdfe30cc8f3e72c4adf3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to