Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793497
D1165.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
458 B
Referenced Files
None
Subscribers
None
D1165.diff
View Options
diff --git a/includes/core.php b/includes/core.php
--- a/includes/core.php
+++ b/includes/core.php
@@ -275,7 +275,7 @@
global $Config;
//Gets relevant URL part from relevant $_SERVER variables
- if (array_key_exists('PATH_INFO', $_SERVER)) {
+ if (!empty($_SERVER['PATH_INFO'])) {
//Without mod_rewrite, and url like /index.php/controller
//we use PATH_INFO. It's the easiest case.
return $_SERVER["PATH_INFO"];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 21:53 (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447909
Default Alt Text
D1165.diff (458 B)
Attached To
Mode
D1165: Ignore empty PATH_INFO string
Attached
Detach File
Event Timeline
Log In to Comment