- commit
- e6ce879e389147e7df7007dcb05a75323fa7b372
- parent
- 1aa986a048bdcf574735dcef803de1a9a5a3cd93
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-09-17 15:59
restrict id to numeric
Diffstat
| M | audiothek.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/audiothek.py b/audiothek.py
@@ -114,7 +114,7 @@ if __name__ == '__main__': 114 114 args = parser.parse_args() 115 115 116 116 app = web.Application()117 -1 app.router.add_route('GET', '/{id}.rss', feed)-1 117 app.router.add_route('GET', '/{id:[0-9]+}.rss', feed) 118 118 if args.path: 119 119 web.run_app(app, path=args.path) 120 120 else: