Web search - search engine convert "/" to %2F

Hi, is there a way to not convert “/” character to %2F when using the search engine?
In the URL field in my web search, if I have something like: https://abc.com/{query}
If I type “example/one” as a {query},
the search will be https://gitlab.com/example%2Fone
instead of https://gitlab.com/example/one

image

Thank you :grinning:

It would be great to allow using another variable like {rawquery} which will not convert special characters :grinning:

The “web search” feature is designed specifically for searches, so we’ve added special handling to ensure the “/” character doesn’t become part of the path.

However, you can create a custom command to handle a “raw query” where “/” won’t be converted. Here’s an example in the screenshot below to help you set it up.

BTW, you can also use the parameter --new-tab https://www.example.com/{query} to open a new tab in an already running instance of Chrome.

Hi @xinyi
It sadly cannot fit my use because I’m using the web search along with the custom suggestion provider
image

Appreciate your help tho :blush:

Unfortunately, that won’t be possible because these two requirements conflict with each other. If you’re using the suggestion provider, it assumes you’re entering a search query, not opening a path. If you’re opening a path, there’s no need for the suggestion provider.

I’m using a custom search provider to provide me an array of paths, like:
when typing “project”:
“project/one”
“project/two”

But ok. Thanks for your time :slightly_smiling_face: