incorrect usage of urlize
?
#9791
Replies: 1 comment
-
Point me where and send us a fix?
I think the intial report wasn't very clear, by including details which aren't relevenat to Django. When reproting an issue to an open source project, remove anything which is not relevant to that project and report something as simple as possible. In this instance, that means:
Do the work and see if the issue is really in that project or if it comes from the underlying layer... Try to write a test reproducing the problem/see where it comes from in Django. From the original ticket, I hinted that the problem might come from Python itself:
And indeed: >>> import html
>>> html.unescape('https://example.com/?page=1×tamp=3')
'https://example.com/?page=1×tamp=3' There is however a good reason why this works this way, though... You might consider changing the query param name if you really want the DRF browsable API to work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Continuation of #9643
The long of it is that there is this "bug" in how DRF creates a link
which I was told is actually an issue with Django, however the Django folks response was
So I get the sense that maybe DRF is using that function incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions