Subject Re: httphandler internal codepage
From Boris Borzic <.> <Boris Borzic <.>>
Date Thu, 18 Feb 2021 14:46:58 -0500
Newsgroups xb2net

Rene <r.sandmann@laserplus.de> wrote in
news:x1xgy71k550th1t.170220211843@BACKUP:

> i played around with the filterrequest.
> I call a website for example laser-plus.com/test
> In the Filterrequest i change the path from /test to
> /testfunction?param=12345 and let it go through the HTTP Handler. In
> the Httphandler i get  /testfunction%3Fparam=12345 and of course the
> page is not found.
>
> I cant find where the "?" is replaced and why.
> Calling the function directly through the browser works fine. Only the
> internal change creates this.
>
> Does anyone have an idea?
> I could add a xbunescape() in the HTTPHandler but i dont wont to mess
> up other flows of the programm.
>

The :path and :query components must not be mixed. The "?" portion of the
URL is found in the :query variable. You can use :GetVar() / :SetVar() to
get and set individual query params.

--
Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools

Recent messages in this thread
 
-# httphandler internal codepage Rene 17-Feb-2021 06:43 pm
.-# Re: httphandler internal codepage (Current message) Boris Borzic <.> 18-Feb-2021 02:46 pm
..\# Re: httphandler internal codepage Rene 18-Feb-2021 05:11 pm