mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: use strict ASCII assertion in tests and update OpenAPI spec
Replace fragile Unicode-range regex with positive ASCII check (/^[\x20-\x7E]+$/) that also catches emoji and supplementary plane characters. Update OpenAPI spec to document percent-encoding.
This commit is contained in:
@@ -4470,7 +4470,7 @@ paths:
|
||||
X-File-Results:
|
||||
schema:
|
||||
type: string
|
||||
description: JSON mapping of input index to output filename
|
||||
description: Percent-encoded JSON mapping of input index to output filename (decode with decodeURIComponent before JSON.parse)
|
||||
content:
|
||||
application/zip:
|
||||
schema:
|
||||
|
||||
Reference in New Issue
Block a user