Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2862909
D25119.1736454053.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
379 B
Referenced Files
None
Subscribers
None
D25119.1736454053.diff
View Options
diff --git a/support/startup/preamble-utils.php b/support/startup/preamble-utils.php
--- a/support/startup/preamble-utils.php
+++ b/support/startup/preamble-utils.php
@@ -21,7 +21,7 @@
}
$forwarded_for = $_SERVER['HTTP_X_FORWARDED_FOR'];
- if (!phutil_nonempty_string($forwarded_for)) {
+ if (!is_string($forwarded_for) || $forwarded_for === '') {
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 20:20 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108700
Default Alt Text
D25119.1736454053.diff (379 B)
Attached To
Mode
D25119: Fix regression in preamble
Attached
Detach File
Event Timeline
Log In to Comment