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
get result "404 Error: The page /afo/en/page/?uri=http//www.yso.fi/onto/afo/ cannot be found."
Additional information (e.g. screenshots) about the problem
When switching language, the uri parameter changes from uri=http://www.yso.fi/onto/afo/ to uri=http//www.yso.fi/onto/afo/ (the :after http is missing).
There's a problem with this URL that it doesn't URL encode the value of the uri parameter. The URL is thus invalid, but it happens to work anyway - with the exception of the language switching links as you noticed. The correct URL for this page would be https://finto.fi/afo/fi/page/?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fafo%2F which looks a bit uglier but the value of uri is properly encoded. In my understanding, links generated by Skosmos that use the uri parameter should always URL encode the values, but that may not always be the case, there could be a bug somewhere.
URL address of the page where you encountered the problem
https://finto.fi/afo/fi/page/?uri=http://www.yso.fi/onto/afo/ for instance
Description of the problem
Additional information (e.g. screenshots) about the problem
When switching language, the uri parameter changes from
uri=http://www.yso.fi/onto/afo/
touri=http//www.yso.fi/onto/afo/
(the:
afterhttp
is missing).I believe this is related to
Skosmos/model/Request.php
Line 212 in dc900c3
Going directly to https://finto.fi/afo/en/page/?uri=http://www.yso.fi/onto/afo/ with a
:
does work.The text was updated successfully, but these errors were encountered: