Hello,
this issue actually starts here: #782864: redirect after submit sends user to wrong URL.
When setting a webform to "Generate a block", the redirect URL after submit gets modified and corrupted. Instead of redirecting to http://www.example.com/drupal_root/content/thanks, it redirects to http://www.example.com/drupal_root//drupal_root/webform.
This happens even when I submit my webform displaying it as a full node, and also as a block.

Anyone else is having this same issue?

Thanks.

CommentFileSizeAuthor
#2 webformblock_redirect.patch470 bytesyhager
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ermannob’s picture

Status: Active » Postponed

I'm sorry, but I couldn't fix this issue and to get my work done, I switched to Nodes In Block module: http://drupal.org/project/nodesinblock

yhager’s picture

Status: Postponed » Needs review
FileSize
470 bytes

It seems that setting the '#redirect' property overrides all else when performing the redirection. Patch attached.

loophole080’s picture

keva’s picture

I didn't apply this patch directly, but edited webformblock.module to the same effect. (deleted line 57)

Appears to work.

askibinski’s picture

Component: Code » Documentation

Patch works fine.