Linux ampersand (&) symbol in url - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux ampersand (&) symbol in url (/showthread.php?tid=376420) |
ampersand (&) symbol in url - hamish_macbeth - 2024-02-24 Hi, seem to be having an issue with kodi on a linux pc, where the & symbol is giving me a 404 on https. CCurlFile::Open failed with code 404 &%3b is the encoding for the & symbol where its failing at. If I use %26 in the url it works fine RE: ampersand (&) symbol in url - izprtxqkft - 2024-02-24 (2024-02-24, 18:51)hamish_macbeth Wrote: where the & symbol is giving me a 404 on https. because that's the wrong way to do it (2024-02-24, 18:51)hamish_macbeth Wrote: If I use %26 in the url it works fine because that's the right way to do it ------ some education on URL ENCODING - https://www.urlencoder.io/learn/ but you're trying to use HTML ENCODING which is different and isn't used for URLS - https://www.w3schools.com/html/html_entities.asp RE: ampersand (&) symbol in url - hamish_macbeth - 2024-02-24 this is what kodi does: CCurlFile::Open failed with code 404 for https://******************/law%20and%20order%20toronto%20criminal%20intent/./Law.&%3b.Order.Toronto:.Criminal.Intent.S01E01.1080p.WEB-DL.DD.5.1.H.264-NHTFS.mkv RE: ampersand (&) symbol in url - izprtxqkft - 2024-02-24 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 RE: ampersand (&) symbol in url - hamish_macbeth - 2024-02-24 sorry it's not an addon. just the standard kodi video source, added as a https share RE: ampersand (&) symbol in url - izprtxqkft - 2024-02-24 (2024-02-24, 20:17)hamish_macbeth Wrote: just the standard kodi video source, added as a https share i see limited expectations when using that method and i never have so i couldn't help RE: ampersand (&) symbol in url - izprtxqkft - 2024-02-24 if you open the index listing that you added to Kodi in a browser, view source i expect the listing is actually putting the & amp into the filename and Kodi is just pulling it directly if that's the case the index server needs to output verbatim the filename not the HTML encoded version one of the pitfalls of using a web scraper, it has to be "exactly" what Kodi expects to find or it will fail RE: ampersand (&) symbol in url - scott967 - 2024-02-24 Don't have experience, but Code: & amp ; scott s. . |