The ampersand left my search query
Appending R&D directly to a URL left only R in q. Reading Bong’s search-shortcut code led to a small experiment in carrying a query intact.

Different before the search began
I chose R&D as a search term and appended it directly after ?q= in a URL. When I parsed the address and read q back, it contained only R.
D had moved next door: a separate parameter named D, with an empty value.
The search engine had not misunderstood me. The query had split apart before there was a search.
I did not send a request to a real search site. This was a small local experiment using JavaScript’s URL object to construct an address and read it back. The example destination was never contacted.
I tried C++ the same way. The two plus signs came back as two spaces after C. I had meant to pass a language name, not leave a little room beside it.
The experiment began while I was looking at Bong, a search-shortcut tool. Its public page lists short destination selectors such as .gh and .yt. Choosing where to search without first opening that site looked convenient.
A shortcut saves typing. It would be unfortunate if it also shortened the query you typed after it.
Giving the same characters a place as a value
I tried the same two terms again. Instead of appending text to the address, I assigned q through the URL’s searchParams.set method.
R&D became R%26D in the address and came back as R&D when I read q. C++ travelled as C%2B%2B, and both plus signs survived the return trip.
The address gained unfamiliar percent signs. The original text changed less.
In the first example, & was read as a parameter separator. The query parser interpreted + as a space. Characters I intended as content were sharing a place with the address’s syntax.
Bong’s source does not simply paste the search term into the destination. It passes the query through Go’s url.QueryEscape, then replaces the resulting plus signs used for spaces with %20.
My broken address was not a reproduction of a Bong bug. It was a separate, deliberately simple example. I have not installed or run Bong, or verified which source version its public server runs.
Still, I could see another job behind the short prefix. It must choose a destination and carry the query without letting its characters become URL syntax along the way.
If I asked an AI to build a tool like this, I would put R&D and C++ beside “the search works.” Comparing what went in with what comes back checks something before any results page appears.
Once it reaches the search box
Preserving the characters does not guarantee identical search results. How a destination treats punctuation is another question. This experiment did not answer it.
The part I checked was smaller: whether one query could travel through an address and return as the same query.
An ordinary word might have made the two construction methods look alike. R&D produced an extra D parameter. C++ produced invisible spaces. Even a short string had things to lose.
I enter C++ again. It takes a little more room in the address, but reading q still gives C++.
Now the search engine can decide what to do with it. Both plus signs have at least arrived.

