Closed (fixed)
Project:
LTI Tool Provider
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Dec 2012 at 22:06 UTC
Updated:
30 Dec 2012 at 23:20 UTC
A client was hosting using a company called Pantheon that seems to use Varnish, Nginx, and FCGI. This combination produced an empty $_SERVER['SERVER_NAME'] variable which is guaranteed to cause OAuth signatures to fail (used in OAuth.php library).
This patch adds a few more sanity checks to the hook_requirements to alert people about their config. Debugging OAuth signature mis-matches is no fun.
| Comment | File | Size | Author |
|---|---|---|---|
| lti_tool-check-server-variables-for-sanity.patch | 1.55 KB | samo |
Comments
Comment #1
jzornig commentedThanks for the patch samo.