Plus (+) signs instead of spaces in backend request query string

9 views
Skip to first unread message

Wojciech Święch

unread,
Jun 21, 2025, 4:46:58 AMJun 21
to KrakenD Community
Hi,

I'm trying to proxy some web services, forwarding the query string from the endpoint to the backend.

I’ve tried using "input_query_strings": ["*"], "input_query_strings": ["$count", "$filter"], and even setting static values with:
"modifier/martian": {"querystring.Modifier": {...}}

However, in every case, I end up with a plus sign (+) instead of spaces (%20) in the query string sent to the backend.

Unfortunately, my backend service doesn't support the plus sign (+) for spaces — it only accepts %20.

Example of endpoint request:
...CustomerInfoSet?$count=true&$filter=Name%20eq%20%27BECH%27"

and coresponding backend request:
...CustomerInfoSet?%24count=true&%24filter=Name+eq+%27BECH%27

Does anyone know how to prevent KrakenD from encoding spaces as plus signs in the backend query string?

Any help or suggestions would be greatly appreciated. Thanks in advance.

Michel Fortes

unread,
Jun 22, 2025, 2:33:14 PMJun 22
to Wojciech Święch, KrakenD Community

What is the content-type of your request?

The plus signal is used for white spaces in www-form-urlencoded.


--
You received this message because you are subscribed to the Google Groups "KrakenD Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to community+...@krakend.io.
To view this discussion visit https://groups.google.com/a/krakend.io/d/msgid/community/eb7373ad-33c6-4980-81ab-6f8e40ba7c68n%40krakend.io.
Reply all
Reply to author
Forward
0 new messages