montreyw / Theme-Redesign-and-SEO-Overhaul

Earmilk redesign project
2 stars 0 forks source link

Type Anywhere Search Issue -- Hooking onto WordPress Search causes script to insert `%00` into url #40

Open andrebu opened 8 years ago

andrebu commented 8 years ago

If a regular search is performed with the first box, the url comes out like http://earmilk.com/?s=kiiendrick

If a search is performed using the searchform in Type Anywhere Search, the url comes out like http://earmilk.com/?s=%00lamar

What the %00 NULL character?

Is it a security feature that attempts to trip up a server with the NULL character anytime someone creates a secondary search box hooking into the same JS function or should I just go to sleep?

montreyw commented 8 years ago

Hmm not sure about this one.

Sent from my iPhone

On Mar 1, 2016, at 4:37 AM, Andre notifications@github.com wrote:

If a regular search is performed with the first box, the url comes out like http://earmilk.com/?s=kiiendrick

If a search is performed using the searchform in Type Anywhere Search, the url comes out like http://earmilk.com/?s=%00lamar

What the %00 NULL character?

Is it a security feature that attempts to trip up a server with the NULL character anytime someone creates a secondary search box hooking into the same JS function or should I just go to sleep?

— Reply to this email directly or view it on GitHub.