I've noticed that webform_submission_page() in /includes/webform.submissions.inc uses $_SERVER['REQUEST_URI'].
IIRC this does not work for some non-Apache servers, and request_uri() should be used

#1 webform-requesturi-1470262-1.patch703 bytesbart.hanssens
Members fund testing for the Drupal project. Drupal Association Learn more


bart.hanssens’s picture

Status: Active » Needs review
703 bytes

Small patch attached

quicksketch’s picture

Status: Needs review » Reviewed & tested by the community

Excellent, thanks! I'll give this a pass in testing then commit next time I'm going through the queue.

quicksketch’s picture

Title: Non-Apache server and REQUEST_URI » Use the request_uri() function instead of $_SERVER['REQUEST_URI '] for Non-Apache servers
Status: Reviewed & tested by the community » Fixed

Thanks! Committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.