While we have the hosting_path_normalize() procedure, it is not used when user submits the form, so it is still possible to enter incorrect path, like with trailing forward slash, so then the site_path may end up with double slashes in the path and cause unexpected issues when single slash in the path is assumed.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 0001-Issue-2854498-by-memtkmcc-Platform-path-is-not-sanit.patch | 2.41 KB | memtkmcc |
Comments
Comment #2
memtkmcc commentedAttached patch fixes the problem (also for existing platform, on its Edit form submit).
Comment #3
helmo commentedlooks sane
Comment #5
memtkmcc commentedThanks! Committed.
Comment #6
memtkmcc commented