You are right, no backslash and double backslash have the same output.

http://www.forkosh.dreamhost.com/mathtex.cgi?alpha
http://www.forkosh.dreamhost.com/mathtex.cgi?\alpha
http://www.forkosh.dreamhost.com/mathtex.cgi?\\alpha

When does magic_quotes_gpc operate exactly? Is
Utils::revert_magic_quotes_gpc of any use?

On 22 Nov, 05:33, "Matt Read" <[EMAIL PROTECTED]> wrote:
> In fact I think it is actually callinghttp://foo.com/bar.cgi?\\alpha
> (double slash) thanks to magic_quotes_gpc and parse_str. Anyway you
> can confirm it is calling that url, and I can start debuging?
>
> On Thu, Nov 20, 2008 at 2:10 PM, Massimiliano
>
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > Yes, curl is installed and enabled (libcurl/7.12.1 OpenSSL/0.9.7a zlib/
> > 1.2.1.2 libidn/0.5.6).
>
> > On 20 Nov, 20:00, "Chris Meller" <[EMAIL PROTECTED]> wrote:
> >> Does your server have curl installed, or is it falling back to using the
> >> socket processor?
>
> >> On Thu, Nov 20, 2008 at 12:56 PM, Massimiliano <
>
> >> [EMAIL PROTECTED]> wrote:
>
> >> > Hi again. I'm giving another try at porting a plugin to Habari (see
> >> > [1] - btw, it was not a fopen issue, I was feeding it the wrong path
> >> > and I've stabbed myself enough for that), but I bump into a behaviour
> >> > that I don't understand.
>
> >> > In this plugin I get some input code that contains one or more
> >> > backslashes, say "\alpha", from the content field of a post. Then I
> >> > anchor this code to the URI of a server, "http://foo.com/bar.cgi?
> >> > \alpha", and the server creates an image. I call the new URI into an
> >> > IMG tag and I'm done.
>
> >> > $generated_image = $this->server . rawurlencode( html_entity_decode
> >> > ( $formula_text ) );
>
> >> > But if I process the same URI through RemoteRequest, the generated
> >> > image is the one that I'd get if I stripped the backslashes from the
> >> > input code ( "http://foo.com/bar.cgi?alpha"; ). I don't understand why
> >> > this happens, do you have an idea?
>
> >> > $request = new RemoteRequest( $generated_image );
> >> > $request->execute();
> >> > $response = $request->get_response_body();
>
> >> >  Massimiliano
> >> > (iMassimiliano on IRC)
>
> >> > [1]http://groups.google.com/group/habari-users/t/c843f8d899434540/
>
> >> --
>
> >> P. J. O'Rourke  - "Never wear anything that panics the cat."
>
> --
> Matt Readhttp://mattread.com
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to