mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/general: improve URL escaping
Specifically, cater for /, + and % in URL components.
This commit is contained in:
@ -120,7 +120,7 @@ class PostListController {
|
||||
|
||||
module.exports = router => {
|
||||
router.enter(
|
||||
'/posts/:parameters?',
|
||||
'/posts/:parameters(.*)?',
|
||||
(ctx, next) => { misc.parseUrlParametersRoute(ctx, next); },
|
||||
(ctx, next) => { ctx.controller = new PostListController(ctx); });
|
||||
};
|
||||
|
Reference in New Issue
Block a user