gravitational / docs

Source code backing goteleport.com/docs
https://goteleport.com/docs
Apache License 2.0
11 stars 13 forks source link

xss filter and url appended #384

Closed rodgtr1 closed 1 year ago

rodgtr1 commented 1 year ago

Two improvements for the Docs Feedback Component

  1. We can't get the URL and the Comment both to show in a helpful way in PostHog. Thus this PR will append the url onto the end of the comment so that we can have context as to what page the comment applies to.
  2. We are getting scripts and tags submitted in the form and it isn't helpful to see these in PostHog. Thus a filter was added to keep these from coming through.
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2023 2:56pm