maubot-media/maubot.yaml
Maddox 2be3d22306 v0.6.3: encode-safe URLs to Seerr (fixes #4)
Queries containing apostrophes/parens/etc were 400ing on Seerr's strict
ajv validator. The SeerrClient _qs() helper percent-encodes the value
correctly, but aiohttp parses the URL string through yarl.URL(), which
normalizes %27 (and other sub-delims) back to the literal character in
the query component. The literal ' then trips Seerr's "must be url
encoded" check.

Fix: pass yarl.URL(url, encoded=True) to bypass yarl's re-normalization
so the RFC 3986 form built by _qs reaches Seerr unchanged.

Reproduced + verified against deployed Seerr v3.2.0 with queries
including "rocky's revenge", "what's up, doc?", "8 1/2".

Closes #4
2026-05-29 20:18:35 -04:00

12 lines
186 B
YAML

maubot: 0.3.1
id: com.3ddbrewery.media
version: 0.6.3
license: MIT
modules:
- media_bot
main_class: MediaBot
config: true
extra_files:
- base-config.yaml
database: true
webapp: true