Edit the path alias as url-decoded value, to avoid issue with %20 percent-encoded again and again as %25%20...

This commit is contained in:
Jocelyn Fiat
2017-09-05 15:55:47 +02:00
parent 71721ea00b
commit af3698ba5e

View File

@@ -122,6 +122,9 @@ feature -- Forms ...
l_uri := lnk.location l_uri := lnk.location
if l_uri.same_string (node_api.node_path (a_node)) then if l_uri.same_string (node_api.node_path (a_node)) then
l_uri := "" l_uri := ""
else
l_iri := percent_encoder.percent_decoded_string (l_uri)
l_uri := l_iri.to_string_8
end end
else else
l_iri := percent_encoder.percent_decoded_string (response.api.location_alias (response.node_api.node_path (a_node))) l_iri := percent_encoder.percent_decoded_string (response.api.location_alias (response.node_api.node_path (a_node)))