HomeWrite.as

Restrict /invite/{code} route to valid chars

Description

Restrict /invite/{code} route to valid chars

Previously, loading something like /invite/fFdblk😄 would return a 500,
due to a mix of collations in MySQL while SELECTing for an invite with
an ID of 'fFdblk😄'. This restricts the route to [a-zA-Z0-9] chars, to
prevent this.

Details

Provenance
mattAuthored on Jan 29 2020, 2:11 PM
Parents
rWF93dd2341c2d2: Merge pull request #191 from writeas/T670-local-time
Branches
Unknown
Tags
Unknown