Autom8 double urlencoding

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Pentium100
Posts: 19
Joined: Thu Feb 19, 2009 4:10 pm

Autom8 double urlencoding

Post by Pentium100 »

Hello,

Autom8 looks like an interesting plugin, however, it does not work for me.
OS: CentoOS 6.4
Cacti: 0.8.8b (comes with CeonOS 6.4)
PHP: 5.3.3 (also comes with CentOS 6.4)

I install the plugin, activate it and have this problem:
I go to, say, "Graph Rules" -> select on rule -> click "Add" to add a new rule item.
I get a blank page.
This is because the URL is doubly urlencoded:

Code: Select all

<a class="linkOverDark" href="autom8_graph_rules.php?action=item_edit&amp;id=3&amp;rule_type=1">Add</a>
Resulting in a urlencoded URL:

Code: Select all

/cacti/plugins/autom8/autom8_graph_rules.php?action=item_edit&id=3&rule_type=1
Changing the "&" to "&" works.

Is this some conflict between my php version (or configuration) or a bug in Autom8?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 double urlencoding

Post by gandalf »

This is which version of Autom8?
I remember, that we had such issues ...
It would help to name the exact line number to get the fix in most easily
R.
Pentium100
Posts: 19
Joined: Thu Feb 19, 2009 4:10 pm

Re: Autom8 double urlencoding

Post by Pentium100 »

The version is 0.31. Maybe it is fixed in a newer version? I will try a newer version when I have the time (for some reason I managed to download an older version, even though a newer version (0.35) was available).
Pentium100
Posts: 19
Joined: Thu Feb 19, 2009 4:10 pm

Re: Autom8 double urlencoding

Post by Pentium100 »

I downloaded 0.35 and it seems to work fine.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest