Skip to content

require existing session for imgsrv#231

Draft
aelkiss wants to merge 1 commit into
mainfrom
imgsrv-require-session
Draft

require existing session for imgsrv#231
aelkiss wants to merge 1 commit into
mainfrom
imgsrv-require-session

Conversation

@aelkiss

@aelkiss aelkiss commented Jun 18, 2026

Copy link
Copy Markdown
Member

This adds the logic that requires sessions in downloads to the rest of the imgsrv routes. Annoyingly, they all handle "restricted" somewhat differently. It also removes the undocumented, unused "XYZZY" env var.

Right now, the perl tests for imgsrv fail, because they don't set up a session in the test context. This implies that we can likely set up more comprehensive tests on the perl side that cover this rather than needing to test exhaustively with the slower playwright tests.

Next step is to see about fixing the perl tests and getting more comprehensive testing in place for authentication with all imgsrv routes there.

@aelkiss aelkiss requested a review from moseshll June 18, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant