4

I got a "Bad Request - Your client has issued a malformed or illegal request." error when attempting to search the following (via address bar searching).

https://kagi.com/search?q=where+is+the+HKEY_LOCAL_MACHINE\+hive+file

Searching this query directly via Kagi.com succeeds, but refreshing the page returns the error again.

.

    Thanks for reporting @silvenga! It's indeed a feature, not a bug. Kagi.com is proxied by a Google Load Balancer, which always blocks any requests containing a "\" character. It's forced and unchangeable from our backend application.

    If you input the query (in this case: where+is+the+HKEY_LOCAL_MACHINE+hive+file) into the search input, the "\" character is translated to %5C. That explains why you succeeded.

      LuanPhan I would say it is a bug if kagi.com generates this URL.

      Kagi.com should escape this character when constructing the query string. (ignoring that browsers don't appear to escape it automatically)

      To be clear, kagi.com does not escape %5C as of today.

        No one is typing