My problem is the following. I have an XHTML 1.1 page with form and input fields. One of the input fields contains a value that is a URI. This URI contains key-value pairs with an ampersand ( & ) as an argument separator, which will be passed as a GET request to another web application in the browser.
Normally I would use an object &to create ampersands for checking code like XHTML 1.1. My problem is that the application does not receive a GET request because (as expected) the browser does not understand how to handle &the URI.
So my question is how to write an ampersand without using an HTML object, so the browser still recognizes it as an argument separator, and the GET request is correctly passed to the web application.
I tried Hex (% 26) encoding an ampersand, but the browser still doesn’t "translate" it to the correct and personal one.
A related question, but it does not give an exact answer to the question I ask:
XHTML encoding and (Ampersand)
source
share