Ask Your Question
0

On certain server setups, why is the & symbol in my JavaScript URL string changed to #038;?

asked 2022-06-26 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-01 17:00:00 +0000

woof gravatar image

This is because the & symbol is used as a special character in HTML to separate different parameters in a URL string. When the URL is passed to the server, it is encoded to ensure that it is properly interpreted as HTML. The & symbol is encoded as #038; to prevent it from being misinterpreted as a parameter separator. This is typically done by server-side software or content-management systems.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-06-26 11:00:00 +0000

Seen: 10 times

Last updated: Nov 01 '22