Kodi* doesn't access do anything for URLs like that, it would be the result of an addon
if the addon is encoding it wrong then it's badly coded
in any case, i have no context for the problem
To receive meaningful assistance you will need to provide a full debug log.
The instructions are here...
Debug Log
If you are using the Basic Method, then ensure the following is applied...
1.
Enable debugging in Settings>System Settings>Logging,
2.
Restart Kodi
3.
Replicate the problem.
4.
Upload the log to
Kodi Paste Site manually or use the
Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.
If you are using the Advanced Method ensure you have correctly created and applied the
advancedsettings.xml file (wiki)
In both instances, you should see the word
DEBUG throughout the log.
Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum