Page MenuHomePhabricator

A particular string blocks saving of the page
Closed, InvalidPublic

Description

Author: d.paleino

Description:
Hi to all,
I've encountered a quite singular problem with MediaWiki. I'm managing a wiki
which should contain source code. That's why I use an extension,
"GeSHiHilight.php" (I don't really know if it's extension-related).

If I try to put the string

system($conf->apt_get . " -t apt-build @apt_args install @pkglist");

into a page, and try to preview or save it, it fails, giving me a 403 error.

Any ideas?

Cheers,
David


Version: 1.6.x
Severity: major
OS: Linux
Platform: PC
URL: http://distro.netsons.org

Details

Reference
bz5706

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:11 PM
bzimport set Reference to bz5706.
bzimport added a subscriber: Unknown Object (MLST).

d.paleino wrote:

An update:
it seems like it's the final semicolon (;) to cause the problems.
You can see, for example, at
http://distro.netsons.org/Apt-build/apt-build/install : the line marked with
"##" is the string I posted before. As you can see, without the semicolon the
wiki saved it.

What could it be?

David

Your server has mod_security or similar installed and misconfigured.
Please remove it, reconfigure it, or contact your system administrator.

d.paleino wrote:

Ok, I'll try and let you know.