-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I created a list called "admins/postmaster".
List is created ok. But if you try to edit it, stalwart throws a 404 error.
Looks like it tries to load a URL like:
https://my.server.net:8443/manage/directory/lists/admins/postmaster/edit
but the "admins/postmaster" part is breaking the URL.
Either the "/" needs to be URL encoded like this:
https://my.server.net:8443/manage/directory/lists/admins%2Fpostmaster/edit
Or some input validation to only accept url-friendly characters (e.g. 0-9 A-Z a-z -_ ) - but this might not work well with
other character sets/non-ascii characters.
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
- Create a new mailing list with "/" in the name
- Try to edit it
Version
v0.13.x
What database are you using?
RocksDB
What blob storage are you using?
Filesystem
Where is your directory located?
Internal
What operating system are you using?
Linux
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working