Fixing script_url' that wrongly used path_info' instead of `percent_encoded_path_info'.

(issue on script_url when path info contains unicode character).
This commit is contained in:
2015-08-04 13:03:51 +02:00
parent 629edea991
commit 8651ff6e1e

View File

@@ -1902,7 +1902,7 @@ feature -- URL Utility
elseif spos > 0 then elseif spos > 0 then
i := spos i := spos
end end
spos := l_rq_uri.substring_index (path_info, i) spos := l_rq_uri.substring_index (percent_encoded_path_info, i)
if spos > 0 then if spos > 0 then
l_base_url := l_rq_uri.substring (1, spos - 1) l_base_url := l_rq_uri.substring (1, spos - 1)
else else