ubuntu.com
ubuntu.com copied to clipboard
Check referrer is a trusted source before submitting a marketo ID
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.