ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Check referrer is a trusted source before submitting a marketo ID

Open sowasred2012 opened this issue 2 years ago • 0 comments

Re: https://sentry.is.canonical.com/canonical/ubuntu-com/issues/21475/?query=is%3Aunresolved

It looks like someone has copied one of our pages and is playing around with it, the referrer URL in the Sentry issue is http://bm-syst.com/contact-us-3.html

It hit the marketo endpoint and raised an exception because of an incorrect form ID, it would be good to check the referrer host is one we expect (ubuntu.com, maybe localhost?) before we try to submit the form.

sowasred2012 avatar Apr 05 '22 14:04 sowasred2012