I think @michael_p.zoom recommended “double URL encoding” the slash in another post.
So instead of / or a single encoding %2F, you would send the double-encoded slash as %252F. I would experiment with it to make sure it works for your setup.
Hope that helps!