Maxxed 0 Posted Thursday at 10:06 AM Delphi 2007, ICS 8.68, libssl-3. Adding "#" character to any URL results in HTTP error 400 or 404 response from server. I can reproduce it in the test applications easily - works every time 😞 For example, this URL works perfectly fine:  https://en.delphipraxis.net/  But adding "#" to the URL:  https://en.delphipraxis.net/#  results in HTTP 400 error in ICS but works perfectly in any browser. Is there any way around this problem, because I need to send both GET and POST requests with # symbol in URLs? Share this post Link to post
Angus Robertson 288 Posted Thursday at 11:02 AM # is an anchor, an instruction to the browser on how to display the page, it is never sent to the server as part of the URL by a browser. Your application should create a valid URL by removing the #. ICS does not validate the URL for illegal content.  Angus 1 Share this post Link to post
Maxxed 0 Posted Thursday at 04:08 PM It used to work in Indy, so I thought it'll work in ICS too. Indy must have been removing the # part of the URLs silently. Thank you for your help, Angus. Share this post Link to post
Remy Lebeau 746 Posted Thursday at 09:44 PM 5 hours ago, Maxxed said: Indy must have been removing the # part of the URLs silently Yes, it does. Share this post Link to post