Debian Jessie: not so oldstable…
Dokuwiki media uploads failing?
Edit your /usr/share/dokuwiki/inc/Input.class.php with the following pasted under the __construct function (note WordPress “code” stripped the leading spaces :/):
/**
* Return a filtered copy of the input object
*
* Expects a callable that accepts one string parameter and returns a filtered string
*
* @param Callable|string $filter
* @return Input
*/
public function filter($filter='stripctl'){
$this->filter = $filter;
$clone = clone $this;
$this->filter = '';
return $clone;
}
References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903948
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908653
https://github.com/splitbrain/dokuwiki/blob/master/inc/Input.class.php
No Responses