Skip to content

Commit 2dbd50c

Browse files
committed
Fix: restore web.safestr() call
No idea why I removed this. Will put on testing and see if it makes a difference.
1 parent dad40a6 commit 2dbd50c

File tree

1 file changed

+1
-1
lines changed
  • openlibrary/plugins/openlibrary

1 file changed

+1
-1
lines changed

openlibrary/plugins/openlibrary/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ def internalerror():
11761176
evalue=exception_value,
11771177
)
11781178
)
1179-
raise web.internalerror(msg)
1179+
raise web.internalerror(web.safestr(msg))
11801180

11811181

11821182
delegate.app.internalerror = internalerror

0 commit comments

Comments
 (0)