Windows 64b. Misinterpreted URL since version 133. Works fine with version 132.0.2 and earlier.
Categories
(Core :: Networking, defect, P2)
Tracking
()
People
(Reporter: support, Assigned: valentin)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [necko-triaged])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Steps to reproduce:
Running in the browser an URL like:
weasis://$dicom:rs%20--url%20%22http//172.22.1.86:8080/dcm4chee-arc/aets/DCM4CHEE/rs%22%20-r%20%22studyUID=2.16.840.1.113669.632.20.853397749.537038478.10002793167%22%20--query-ext%20%22&includedefaults=false%22%20-H%20%22Authorization:%20Bearer%20eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxZHl3aldwVTV2RUVNSFlOWVlMMm8zSHh1eDV5djBtNGxnTXhlb194eXhBIn0.eyJleHAiOjE3NDEzNjg3MzcsImlhdCI6MTc0MTM2ODQzNywiYXV0aF90aW1lIjoxNzQxMzY4NDM2LCJqdGkiOiI5ODUwZmNlOC03ZDg5LTQ4ZTgtYTkyNy03ZmIwN2U5YmJlZDkiLCJpc3MiOiJodHRwczovLzE3Mi4yMi4xLjg2Ojg1NDMvcmVhbG1zL2RjbTRjaGUiLCJhdWQiOlsiZWxhc3RpYyIsInJlYWxtLW1hbmFnZW1lbnQiLCJhY2NvdW50Il0sInN1YiI6IjY0YWNhYjAwLWIxODQtNGRlMS1iODZhLTg1ZWFkZWNkZDdmMSIsInR5cCI6IkJlYXJlciIsImF6cCI6ImRjbTRjaGVlLWFyYy11aSIsIm5vbmNlIjoiNTZjMWFjYjUtM2FjZC00OGU4LTg5NzAtNjg4NDRmNjI3YmM2Iiwic2Vzc2lvbl9zdGF0ZSI6IjY1OGUyYTYzLTNlOTctNDIxYS05YzNlLTdiNWVlYjhmZDljOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovLzE3Mi4yMi4xLjg2OjgwODAiLCJodHRwczovLzE3Mi4yMi4xLjg2Ojg0NDMiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImF1dGgiLCJyb290Iiwib2ZmbGluZV9hY2Nlc3MiLCJhZG1pbiIsImRlZmF1bHQtcm9sZXMtZGNtNGNoZSIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsicmVhbG0tbWFuYWdlbWVudCI6eyJyb2xlcyI6WyJtYW5hZ2UtdXNlcnMiXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIiwic2lkIjoiNjU4ZTJhNjMtM2U5Ny00MjFhLTljM2UtN2I1ZWViOGZkOWM4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImdpdmVuX25hbWUiOiIiLCJmYW1pbHlfbmFtZSI6IiJ9.fXS03jWqSi6NWTcLd9ldMEtrA6GH6GRQopUwE7WQI-rcbhJhpUGNaBnrofeUonXXjrl-FBfr3ZOgxLWARZbnAKJ8bd-NNnlyIjMhnXyjsig2zMMKyXHJQCN3xidu9KNHFHN5AbZ9q2RSk9RH6x_dVIThlAl7IeFsHusQGcow0WWm9wiECc-PUoAFMUNfPyvDmEfeawkEhkpoFYSBc3ucHp52IQtTizWu5DS_lmBIO60IociIVlisJpcplFwFvOgkyLWJpHldzbqOack-6OEYSmP28IVCJlPJRP8xxZULXrsiRN01DceRRg6CNIVShUFR7Rfw7B-29DgWs6DXz7XDxg%22
FYI, the last part of the URL is a random token that allows Weasis to retrieve data from server.
Actual results:
Using Firefox 132.0.2 and previous release: launching Weasis which loads and displays pictures.
Using Firefox 133 and later, including last release 136: Weasis application does not launch, nothing is displayed, no warning. The developer mode (F12) console intercepts this message:
Prepared URL: weasis://$dicom:rs --url "http://172.22.1.86:8080/dcm4chee-arc/aets/DCM4CHEE/rs" -r "studyUID=2.16.840.1.113669.632.20.853397749.537038478.10002793167" --query-ext "&includedefaults=false" -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxZHl3aldwVTV2RUVNSFlOWVlMMm8zSHh1eDV5djBtNGxnTXhlb194eXhBIn0.eyJleHAiOjE3NDE2OTAwODgsImlhdCI6MTc0MTY4OTc4OCwiYXV0aF90aW1lIjoxNzQxNjg5NzgwLCJqdGkiOiJhOGIzZTVlOC0wZWRhLTQxNWYtODhlOC01MGFjOTdlNTU0ZGUiLCJpc3MiOiJodHRwczovLzE3Mi4yMi4xLjg2Ojg1NDMvcmVhbG1zL2RjbTRjaGUiLCJhdWQiOlsiZWxhc3RpYyIsInJlYWxtLW1hbmFnZW1lbnQiLCJhY2NvdW50Il0sInN1YiI6IjY0YWNhYjAwLWIxODQtNGRlMS1iODZhLTg1ZWFkZWNkZDdmMSIsInR5cCI6IkJlYXJlciIsImF6cCI6ImRjbTRjaGVlLWFyYy11aSIsIm5vbmNlIjoiOGE0Y2VkNzItNGI4Zi00MzVmLThmYzgtMGYzOGEwYmE1ZGJiIiwic2Vzc2lvbl9zdGF0ZSI6ImE0ZWIzNjAzLWRmNzgtNGZlNy1iMjA2LTIwZDQ4MDhiMDZkOCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovLzE3Mi4yMi4xLjg2OjgwODAiLCJodHRwczovLzE3Mi4yMi4xLjg2Ojg0NDMiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImF1dGgiLCJyb290Iiwib2ZmbGluZV9hY2Nlc3MiLCJhZG1pbiIsImRlZmF1bHQtcm9sZXMtZGNtNGNoZSIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsicmVhbG0tbWFuYWdlbWVudCI6eyJyb2xlcyI6WyJtYW5hZ2UtdXNlcnMiXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIiwic2lkIjoiYTRlYjM2MDMtZGY3OC00ZmU3LWIyMDYtMjBkNDgwOGIwNmQ4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImdpdmVuX25hbWUiOiIiLCJmYW1pbHlfbmFtZSI6IiJ9.UNnkRD0CAMY6NlOEd1_LyWysceffhl1zPc1KM84wMWhLH7LTLd0nlaq52Mpkxne_-0fUTIWQHKBq3_wmsccZX5CGAQ4KO0HnJgJHXwD6N6IRTxW_AU-0k0Ckxs3-aw3qbFwCSGIKeUKkprvwNz0GJBqhygAB5NqZ2U9We3zzuGdJlBn27-W84EjIhgyIqaOXEcYJo58Y3fbz-wZhbuFUEIfsSrojSscGcojG0ek2d4MhDCipX81lF8PIiC6DwgEMYthD9JpPvw9kQ33PVti6nYQu_cGVr7zBprtf4OJg917YNP5bQ0vEksKLCWDcM81Rr6ZlGooSQBMnxxhxR8GHIw" main.bf03ee3da83f8c5d.js:3:1950025
ERROR DOMException: An invalid or illegal string was specified
openViewer https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
__tryOrUnsub https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
next https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
_next https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
next https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
Ko https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
_trySubscribe https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
subscribe https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
openViewer https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
actions https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
click https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
X5e https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
aw https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
r https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
decoratePreventDefault https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
invokeTask https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
onInvokeTask https://172.22.1.86:8443/dcm4chee-arc/ui2/en/main.bf03ee3da83f8c5d.js:3
invokeTask https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
runTask https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
invokeTask https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
Z https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
N https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
F https://172.22.1.86:8443/dcm4chee-arc/ui2/en/polyfills.eb4b0a1ab361c0e5.js:1
main.bf03ee3da83f8c5d.js:3:67038
Expected results:
Same behavior we have with 132.0.2 and previous.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
So far only Firefox concerned, I don't know if Fenix is. OS: Windows, at least 2016, 2022, 10, 11.
Comment 3•1 year ago
|
||
This was regressed by bug 1889988
(In reply to BugBot [:suhaib / :marco/ :calixte] from comment #1)
The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
(In reply to Dave Townsend [:mossop] from comment #3)
This was regressed by bug 1889988
Thanks a lot Dave. Setting network.url.useDefaultURI parameter to false allows to workaround the issue. Bug report can be closed.
Hi,
It seems like this can also be mitigated by adding weasis to the pref network.url.simple_uri_unknown_schemes list.
Note that network.url.simple_uri_unknown_schemes_enabled and network.url.useDefaultURI should be true for this to work.
These values can all be checked/modified via about:config.
ALIANT, are you able to confirm this?
Valentin, if this works we should consider adding this the the remote settings list or address in rust-url (or both).
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 7•1 year ago
|
||
Waiting for reporter to confirm if comment 5 workaround fixes their issue.
Additionally, could you provide some info about the weasis scheme? How many users are likely to use this software?
Hello, thanks everyone for your help. I found a solution, which consist in including the character "?" in the URL such as "weasis://?$dicom:rs --url="http://10.1.22.19:8080{{qidoBasePath}}" -r "studyUID={{studyUID}}" --query-ext "&includedefaults=false" -H "Authorization: Bearer {{access_token}}""
| Assignee | ||
Comment 10•11 months ago
|
||
Reporter was able to mitigate the issue by themselves.
Description
•