Se4598 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/110874
Change subject: Replace easter egg by a more explaining message
......................................................................
Replace easter egg by a more explaining message
Bug: 60741
Change-Id: Idda8cff80e211f137429d0d7857937241e3d67db
---
M docroot/noc/conf/highlight.php
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/74/110874/1
diff --git a/docroot/noc/conf/highlight.php b/docroot/noc/conf/highlight.php
index c3e7df4..b75748f 100644
--- a/docroot/noc/conf/highlight.php
+++ b/docroot/noc/conf/highlight.php
@@ -40,8 +40,9 @@
echo "File not found\n";
exit;
}
- // Easter egg
- $hlHtml = highlight_string( '<'."?php\n\$secretSitePassword =
'jgmeidj28gms';\n", true );
+
+ //no filename given or filename not existing in this directory
+ $hlHtml = "No valid, whitelisted filename in parameter \"file\" given.";
} else {
// Follow symlink
--
To view, visit https://gerrit.wikimedia.org/r/110874
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idda8cff80e211f137429d0d7857937241e3d67db
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Se4598 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits