Re: [Nagios-devel] [PATCH] (Variables encoded twice) Fix bug when
Posted: Sat Sep 06, 2008 12:35 am
Pedro Lucas Borba Pereira wrote:
> Hi people,
>
> My names is Pedro Lucas and I work for Brazilian Government with Nagios.
>
> I found a error when generate reports with trends.cgi and histogram.cgi like
> Brian Murphy, when change the time periods and click on Update button a
> message of error is displayed:
> "It appears as though you are not authorized to view information for the
> specified service..."
>
> The cause of this error is that trends.cgi and histogram.cgi are using the
> function url_encode to encode a variable already is encoded by other cgi or by
> it self.
>
> In this patchs I just removed url_encode of variable "svc_description" and
> then I get it work.
>
> Annexed following the patches.
>
What version of Nagios are these patches made against? I know several similar
patches have been sent to the nagios-devel@ list, so Ethan may well have
something like this in his tree already.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Hi people,
>
> My names is Pedro Lucas and I work for Brazilian Government with Nagios.
>
> I found a error when generate reports with trends.cgi and histogram.cgi like
> Brian Murphy, when change the time periods and click on Update button a
> message of error is displayed:
> "It appears as though you are not authorized to view information for the
> specified service..."
>
> The cause of this error is that trends.cgi and histogram.cgi are using the
> function url_encode to encode a variable already is encoded by other cgi or by
> it self.
>
> In this patchs I just removed url_encode of variable "svc_description" and
> then I get it work.
>
> Annexed following the patches.
>
What version of Nagios are these patches made against? I know several similar
patches have been sent to the nagios-devel@ list, so Ethan may well have
something like this in his tree already.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]