[dokuwiki] Re: Possible Security Problem
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 31 Oct 2005 09:05:25 +0100
Martin Baum writes:
This update work also with old dokuwiki versions like 2005-07-13 ?
I will become this error-message:
Fatal error: Call to undefined function unslash() in
/usr/local/www/data-dist/dokuwiki/inc/html.php on line 299
299: $hlight = unslash($m[0]);
A dokuwiki-function, I think?!
Yes. It's defined in inc/common.php. For older DokuWikis it should be
enough to add it to inc/common.php yourself:
function unslash($string,$char="'"){
return str_replace('\\'.$char,$char,$string);
}
Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Possible Security Problem
- From: Andreas Gohr
- [dokuwiki] Re: Possible Security Problem
- From: Martin Baum
Other related posts:
- » [dokuwiki] Possible Security Problem
- » [dokuwiki] Re: Possible Security Problem
- » [dokuwiki] Re: Possible Security Problem
This update work also with old dokuwiki versions like 2005-07-13 ?
I will become this error-message:
Fatal error: Call to undefined function unslash() in /usr/local/www/data-dist/dokuwiki/inc/html.php on line 299
299: $hlight = unslash($m[0]); A dokuwiki-function, I think?!
- [dokuwiki] Possible Security Problem
- From: Andreas Gohr
- [dokuwiki] Re: Possible Security Problem
- From: Martin Baum