mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
6457f0296b
* Move formPluginEvent * Work around risky behavior Previously, users could override some important event fields by passing values in their payload. This bug was introduced way back in https://github.com/PostHog/plugin-server/pull/34 This bug indirectly caused the following sentry errors: - https://sentry.io/organizations/posthog2/issues/3289550563/?project=6423401&query=is%3Aunresolved+level%3Aerror - https://sentry.io/organizations/posthog2/issues/3455742732/?project=6423401&query=is%3Aunresolved+level%3Aerror - https://sentry.io/organizations/posthog2/issues/3382895905/?project=6423401&query=is%3Aunresolved+level%3Aerror One area I'm unsure on is specifically `ip` field and its expected behavior, but looking at old code from 2020 it seems we always took the ip from request rather than looking at event body. |
||
---|---|---|
.. | ||
db | ||
event.test.ts |