This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

GET request - ID gets cut at character '#'

Hello, I have IDs which include the character '#'. Doing a GET request (WHERE ID), the ID gets cut after the '#' and the consequence is no result. Is there a way to omit the wildcard for '#'.

Here an example: The ID gg343-ghjdg#hgfds-ggg gets cut to gg343-ghjdg. I tried to escape like \#, but it doesn't help.

Would be happy for some suggestions / help. Thanks! Harald

Answer Answered by Ian Gilfillan in this comment.

This is not a MariaDB-specific question, but I think you are looking for https://stackoverflow.com/questions/5007352/how-to-escape-hash-character-in-url.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.