Fix off-by-one-regexp in URL matching for speakers
authorMagnus Hagander <magnus@hagander.net>
Mon, 25 Mar 2024 18:25:18 +0000 (19:25 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 25 Mar 2024 18:25:18 +0000 (19:25 +0100)
commit9d608b121bcbc576fd7a8a1b7e767a8146bdfac2
tree3d0b2c75b1fa1991686026a6a531928844082f3a
parentf619a86b3d4b30450e7d715d066e4ddf93c5e5eb
Fix off-by-one-regexp in URL matching for speakers

We're not suppose to allow / in the speaker name, as that can cause
infinite recursions. But due to an extra . in the regexp, if we loaded
the speaker from the schedule (not the session list) we could, which if
you had a bad link somwehere a bot could then end up traversing into
without getting a 404.
postgresqleu/urls.py