231

How can I escape the # hash sign (sometimes known as number sign or pound sign) sent in the query string of a URL?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219

1 Answers1

389

Percent encoding. Replace the hash with %23.

Delgan
  • 18,571
  • 11
  • 90
  • 141
Robert Tupelo-Schneck
  • 10,047
  • 4
  • 47
  • 58