[Webkit-unassigned] [Bug 144333] [Win] PHP scripts fail if HTTP_ORIGIN is not set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 28 09:59:17 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144333
Brent Fulgham <bfulgham at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|webkit-unassigned at lists.web |bfulgham at webkit.org
|kit.org |
--- Comment #1 from Brent Fulgham <bfulgham at webkit.org> ---
My initial understanding of this problem was wrong.
Tests are failing because of a difference in Windows PHP versus its behavior on the Mac:
(a) Mac treats a missing HTTP_ORIGIN 'key' in the HTTP header as a null value.
(b) Win treats a missing HTTP_ORIGIN 'key' in the HTTP header as a failure and terminates the script.
The fix is to check if the key is set before proceeding, which works properly on Windows and Mac.
I will do a quick search of other PHP files to see if this is the cause of other Windows failures.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150428/a190673a/attachment-0001.html>
More information about the webkit-unassigned
mailing list