0

Good morning,

Sorry my english, I have a problem with opensearch when I generate url with character "+" when searching more than one word. I read about "allowDoubleEscaping" in web.config, but seems to be dangerous. Is there something I can do to replace "+" for "-" before the search?

Trevor
  • 7,777
  • 6
  • 31
  • 50
  • i forgot to say, i using asp.net and i need make this in the global.asax, but i not have assurance. – Ramon Caetano Sep 16 '19 at 13:05
  • Having a `+` in a url in place of a space is perfectly valid. –  Sep 16 '19 at 13:05
  • Welcome to Stack Overflow! What have you tried so far? Share your code and please review [how-to-ask](https://stackoverflow.com/help/how-to-ask) to help you to ask a good question, and thus get a good answer. – Selim Yildiz Sep 16 '19 at 13:05
  • you can use '%20' instead – Paulo Campez Sep 16 '19 at 13:06
  • @RamonCaetano welcome to SO! Please include *all relevant* information into your post, try not to add important details about your issue/s in the comments section, if you do, please make sure to add them to your OP. For now, I went ahead and made these changes for you. – Trevor Sep 16 '19 at 13:09
  • the problem occurs when a user searches the browser search engine and returns error 404.11 – Ramon Caetano Sep 16 '19 at 13:14
  • I thought using allowDoubleEscaping, but I read what's so dangerous for security. – Ramon Caetano Sep 16 '19 at 13:16

0 Answers0