pisearch escaping issue

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Nemesis666

pisearch escaping issue

Post by Nemesis666 »

I use pisearch 1.04 and can't change the templates, because all " are escaped by a \ and thus the web page shows something like

Code: Select all

<!-- Start PisearchForm -->
<form action=\"http://cms.whatever.de/index.php?page=Pisearch\" method=\"post\">
<input type=\"text\" value=\"\" maxlength=\"50\" size=\"15\" name=\"pisearch\" id=\"searching\" />
<input type=\"submit\" value=\"Suchen\" id=\"buttonSearch\" />
<input type=\"hidden\" name=\"action\" value=\"showresults\" />
</form>
<!-- End ModPisearchForm -->
And guess what: That doesn't work ;)

Any workaround or bugfix in sight?

Greets,
Nemesis
Piratos

Re: pisearch escaping issue

Post by Piratos »

This is not an pisearch issue because with install only the standard function SetTemplate and GetFormTemplate are used and the normal edit function.

if you want help you must post the cmsms version.
Nemesis666

Re: pisearch escaping issue

Post by Nemesis666 »

I'm using 1.0 beta 5. With previous versions it worked fine (I think). I'll try a fresh install and post my result. Stay tuned ;)

Nemesis
Nemesis666

Re: pisearch escaping issue

Post by Nemesis666 »

So, did a fresh install with 1.0 beta 5 and pisearch 1.04. Same issue there: Initially, everything is ok, but saving the templates once escapes all " and ' and the search form isn't usable any more. Have to kill the extra \ via phpMyAdmin to have it work again.

Btw, the german translation for the pisearch menu item "Pisearch tralala" is funny, but I think it should be corrected for the sake of seriosity.  ;D

Greets,
Nemesis
Piratos

Re: pisearch escaping issue

Post by Piratos »

tralala
Ha Ha

Oh yea that was a little joke by me because i have not seen that the betas work correctly.

i am waiting on the next stable and than i will release the next piserach with several changes and without jokes.
Piratos

Re: pisearch escaping issue

Post by Piratos »

We have found the issue - it is a bug in the core include.php - there is a part with nonsens code about get_magic_quotes_gpc in this file.

Version 1.72 of pisearch has a workaround .
Locked

Return to “Modules/Add-Ons”