IllegalResourceName on edit when repository-path set to ../wikidata
- Dominant language
- Haskell
- Stars
- 2.3k
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
When I set `repository-path: ../wikidata` in the config file, gitit starts and serves pages correctly. Also correctly gets updates made via `git`. However if I log in and edit page using the web interface, I can edit and preview normally, but when I try to save the only message I get is
```
Server error: IllegalResourceName
```
This depends specifically on that setting - I have a plain default config file, with this one change. Changing it to default `wikidata` works. It's not a problem with slash or dot, as `./wikidata` and `foo/wikidata` work correctly. It appears to be problem specifically with parent directory. Workaround with `./../wikidata` does not work.
I've tried `../foo/wikidata` and it has created the repository and than gave me the same error message on command line, and exited. Subsequent runs failed to create default pages, but otherwise work identically - I can view and edit via git, but cannot edit via web interface.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.