#19594: urlpatterns not respected for trailling slashed when mod_rewrite is on
-------------------------------------+-------------------------------------
     Reporter:  francisl             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Other)         |                  Version:  1.3
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  mod_rewrite          |             Triage Stage:
  urlpatterns                        |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by carljm):

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


Comment:

 The description says "affects Django to 1.5", but looking at the
 `get_script_name` function in 1.5 the description of the problem and the
 suggested patch make no sense. If `FORCE_SCRIPT_NAME is not None`, the
 entire function is short-circuited and the value of `FORCE_SCRIPT_NAME` is
 returned immediately. So adding an `and FORCE_SCRIPT_NAME is not None`
 later in the function is a no-op.

 It may be that this patch made some sense in Django 1.3 (I haven't
 checked), but that's not relevant, since this wouldn't qualify for
 backport to 1.3 (or 1.4) anyway.

 So closing as invalid.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19594#comment:3>
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 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.


Reply via email to