Skip to main content
5 of 6
Linkify the links
Jed Fox
  • 3k
  • 3
  • 21
  • 30

Bug when combining boolean search operators with tags containing plus signs

The site search allows to use tags as well as boolean operators, e.g. one can search for C++ and C# questions by entering [c++] or [c#]. The resulting URL is https://stackoverflow.com/questions/tagged/c%2b%2b%20or%20c%23.

The search still works upon initially submitting the search phrase. Likewise, refreshing a page using the browser renders the expected result. Reloading the page using the "newest", "featured", etc. tabs, however, drops the plus signs. In my previous example ([c++] or [c#]) the submitted search turns into [c] or [c#]. The URL for the "newest" tab is https://stackoverflow.com/questions/tagged/c%2b%2b+or+c%23?sort=newest&pageSize=15. The other tabs are similar.

I have verified this using both Chrome as well as Edge. Can anyone else reproduce the issue, or is this a peculiarity of my system's configuration (e.g. locale settings)?

IInspectable
  • 51.1k
  • 18
  • 19