#25099: Cleanup HttpRequest representations in error reporting
--------------------------------------+------------------------------------
     Reporter:  vzima                 |                    Owner:  vzima
         Type:  Cleanup/optimization  |                   Status:  assigned
    Component:  Core (Other)          |                  Version:  master
     Severity:  Release blocker       |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by vzima):

 Patch is in PR https://github.com/django/django/pull/5228

 I find out the bug is not a regression. The problem was there before
 (tested in 1.8.4) but it manifested only if `include_html` was enabled.

 I based the fix on carljm's proposal, but apart from `_get_raw_host()` I
 had to add also `get_raw_uri()` method to provide alternative for
 `build_absolute_uri()` which was used in the template.

--
Ticket URL: <https://code.djangoproject.com/ticket/25099#comment:9>
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/063.1d6942147e1d0a58ad9a4130f434455c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to