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/
--~--~---------~--~----~------------~-------~--~----~
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