Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed file upload with directory-1.1.0.0.
Previously canonicalizePath was used to determine whether the uploaded file would be in the static-dir or templates-dir. This method no longer works due to a change between directory-1.0.1.1 and 1.0.1.2. Instead, we now normalize the wikiname and just compare prefixes. Thanks to Oliver Braun for finding the problem.
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters