You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Security
Reddit short-link resolution now connects to the address the SSRF check validated, like the page and image fetches, instead of resolving the host a second time.
Fixed
An image description or PDF OCR that timed out reported "This operation was aborted". The error names the timeout now, like transcription does: captioning timed out after 60 s and pdf ocr timed out after 120 s. A cancellation by the caller keeps its own error.
Task-list checkboxes lost their state. An HTML task list (<li><input type="checkbox" checked> Done</li>, as GitHub renders it) came out as plain bullets. It converts to - [x] Done and - [ ] Todo now, including a checkbox inside a leading <label> or <p>. Other form inputs are still dropped, and format=text keeps the [x] / [ ] markers.
An extractor that failed with something other than an Error produced an HTML error page. A Reddit failure carrying no message (a plain string or no value at all) made /api answer with Express' HTML 500 and a stack trace instead of the JSON error. It returns { "error": "Internal server error" } now, and the same guard covers the other extraction and upload error paths.
Non-Unicode .msg files came out garbled. Outlook messages that store their text in a code page (Cyrillic, Central European, Shift-JIS and others) were read as Latin-1, which garbled subject, sender, recipients and plain body and lost the Windows-1252 euro sign. They are decoded in the message's code page now, with Windows-1252 as the default. An HTML body without its own code page falls back to the message's code page, and without any hint it is read as UTF-8 when valid, else Windows-1252.
PULLMD_AUTH_TOKEN was also stored as an unusable API key. In single-admin mode the token was inserted into the key table, where it could never match, and a token starting with pmd_ kept working after it was removed from the environment. The token is no longer stored, an existing entry is removed at startup, and the token itself authenticates as before.