On Sep 14, 2010, at 2:03 PM, Bernard Li wrote: > Hi Urs: > > On Tue, Sep 14, 2010 at 11:29 AM, Urs Beyerle > <[email protected]> wrote: > >> I don't know if this bug is related to my problem, since "+" is >> allowed >> in filenames under Linux. But maybe php has a "problem" with the >> plus sign? >> >> I found that if I replace in the URL "+" with "%2B" it works. >> >> So if the ganglia php script (which?) would replace "+" with "%2B" it >> would work. > > Try looking at graph.php and friends -- could you please file a bug at > bugzilla.ganglia.info as well? > > The web frontend actually provides a debug mode. Right click on an > image (even if there is no image you can still right-click on the text > where there is supposed to be an image) and select show image. Modify > the URL and add &debug=3, that will show you the rrdtool command that > was used to generate that image -- it might help with debugging.
The code might need calls to rawurlencode() when creating URLs, and rawurldecode() when reading URL arguments. >> echo( rawurlencode( '+' ) ); %2B >> echo( rawurldecode( '%2B' ) ); + http://www.php.net/manual/en/function.rawurlencode.php alex ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

