You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows users to input very long urls, which in turn leads to HTTP 500 with exception django.db.utils.DataError: value too long for type character varying(20).
pretalx-youtube should either limit the length of the URL or sanitize the url to strip it of all unwanted data before trying to input it into the database.
The text was updated successfully, but these errors were encountered:
After reading the code i see that pretalx-youtube should already sanitize the full youtube urls. I suspect that my users used something like https://youtu.be/foobar?utm_medium=share&whatever=foobar, which got sanitized to foobar?utm_medium=share&whatever=foobar. I'll submit a PR to fix this.
This allows users to input very long urls, which in turn leads to HTTP 500 with exception
django.db.utils.DataError: value too long for type character varying(20)
.pretalx-youtube should either limit the length of the URL or sanitize the url to strip it of all unwanted data before trying to input it into the database.
The text was updated successfully, but these errors were encountered: