Plugin Author
Franky
(@liedekef)
You’re mixing up 2 forms probably.
[eme_gdpr] is meant to be used on a page by itself, not inside a rsvp form.
OK, so I created a new page having only the [eme_gdpr] shortcode. I register someone for an event and get the confirmation email of the registration. Then I go to the new page and enter that email address to get whatever personal data is recorded. An email is sent to that address. I open the link in a browser and get exactly the same message: GDPR link is no longer valid, please request a new link.
Then I tried again with a different email address, and it worked OK.
The difference was strictly in the email address. For testing purposes, I use email addresses of the format [email protected], where nnn is a sequential number. I suspect that the “+” in the email address caused the problem. It shouldn’t, given that + is a perfectly legitimate character in an email address.
I can confirm that if I replace the + in the URL by & #043 ; (minus the spaces, of course) the link works correctly. So the URL will have to be transformed to replace any valid characters in an email address that cause hiccups in a URL by their & #nnn ; equivalents.
+
-
This reply was modified 8 years ago by
Ambyomoron.
-
This reply was modified 8 years ago by
Ambyomoron.
-
This reply was modified 8 years ago by
Ambyomoron.
Plugin Author
Franky
(@liedekef)
Now this is interesting ….
Can you check if this change works (once wp gets trac working again …):
http://plugins.trac.ww.wp.xz.cn/changeset/1880356
Or (while trac is still down), change this in eme_events.php:
@@ -570,7 +570,7 @@
}
} elseif (isset($_GET['eme_gdpr']) && isset($_GET['eme_gdpr_nonce'])) {
- $eme_email=eme_strip_tags($_GET['eme_gdpr']);
+ $eme_email=sanitize_email($_GET['eme_gdpr']);