https://bugzilla.wikimedia.org/show_bug.cgi?id=59079
Web browser: ---
Bug ID: 59079
Summary: Extension Paths not escaped properly during install
Product: MediaWiki
Version: 1.22.0
Hardware: PC
OS: Windows 7
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Installer
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
After installing MediaWiki with some extensions activated and copying the
created LocalSettings.php to the correct folder (d:\htdocs\test), php output
was:
Warning: require_once(D:\htdocs\testxtensions\InputBox\InputBox.php): failed
to open stream: Invalid argument in D:\htdocs\test\LocalSettings.php on line
123
Fatal error: require_once(): Failed opening required
'D:\htdocs\testxtensions\InputBox\InputBox.php'
(include_path='.;C:\xampp\php\PEAR') in D:\htdocs\test\LocalSettings.php on
line 123
Problem is produced by extension paths not being escaped properly, line in
LocalSettings.php is:
require_once "$IP\extensions\InputBox\InputBox.php";
should be:
require_once "$IP\\extensions\\InputBox\\InputBox.php";
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l