You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An entry with spaces in URLField (such the dadis_url attribute at https://api.image2020genebank.eu/backend/dadis_link/1/) doesn't render correctly URLs with encoded spaces in templates. This beaviour seems depends by the urlize template tags, which is called in rest_framework/templates/rest_framework/base.html to render a string formatted like this (not a JSON but a <pre> formatted text):
An entry with spaces in
URLField
(such thedadis_url
attribute at https://api.image2020genebank.eu/backend/dadis_link/1/) doesn't render correctly URLs with encoded spaces in templates. This beaviour seems depends by theurlize
template tags, which is called inrest_framework/templates/rest_framework/base.html
to render a string formatted like this (not a JSON but a<pre>
formatted text):more precisely,
urlize
cant represent the encoded space%20
in thehref
link:The returned link (in which
%20
is changed in+
) is not a valid dad-is permalinkThe text was updated successfully, but these errors were encountered: