padurlsanitize: Don't crash if sanitizePadId() throws

Let Express send a 500 status code to the user instead.

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
webzwo0i 2021-07-05 06:12:02 +02:00 committed by Richard Hansen
parent 4733c7d8d3
commit 8b73f2ee70
2 changed files with 20 additions and 16 deletions

View file

@ -15,6 +15,7 @@
from the database when the group is deleted.
* Fixed race conditions in the `setText`, `appendText`, and `restoreRevision`
functions (HTTP API).
* Fixed a crash if the database is busy enough to cause a query timeout.
#### For plugin authors