I am using webform to collect error reports on a custom 404 page. How may I include the URL which caused the 404 error for anonymous users? (Yes, I'm using captcha to filter spam.) The $_REQUEST variable is not available, and to my knowledge no other token provides this value.

Comments

quicksketch’s picture

Category: feature » support
Status: Active » Fixed

You can use %get[q] for the current Drupal path.

If #630476: Allow hidden fields to handle unsafe tokens by making the "value" type fields is finished, that would allow you to use %_server[REQUEST_URI] in a hidden field.

Status: Fixed » Closed (fixed)

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