Ticket #9199: patch.diff

File patch.diff, 501 bytes (added by Gonzalo Saavedra, 16 years ago)
  • middleware/common.py

     
    6969        if new_url != old_url:
    7070            # Redirect if the target url exists
    7171            try:
    72                 urlresolvers.resolve("%s/" % request.path_info)
     72                urlresolvers.resolve(new_url[1])
    7373            except urlresolvers.Resolver404:
    7474                pass
    7575            else:
Back to Top