Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jantlap's avatar

Signed URL's with utm tags

Hi,

Im using signed urls generated for e-mail, so the link is secure and cannot be tampered. But when we add some more tracking parameters to URL, like utm_tags, the validation will fail.

Is there any possibility to exclude get params from validation and validate only the part without GET parameters?

0 likes
3 replies
bashy's avatar

Yeah the $original var gets all the input keys and checks them. Not sure why it needs to do that but utm is needed in the URL right? You can't just sign the URL with those params as well, no?

1 like
Jantlap's avatar

Yes, that is the point. Seems we would need to do our own URL signing.

Please or to participate in this conversation.