We have a custom JavaScript input box that passing the search term to the search result in a public SharePoint site.
When a user log in to the site and search for stuff, everything works great. However, when an anonymous visitor try to search for something without log in, the http://site?k={searchterm}
just don't work, after I change "?"
to "#"
, it works great again.
I wonder what's the difference between #k=
and ?k=
, and which one is the correct syntax ?