Edit wiki page Throws 500 error, when create and link to a (new) page wiki create page start and ends with '-'
Please read this!
Steps to reproduce
-
Click "wikis" under project repository
-
Create wiki with "Table of Content" as below ex: * Testing
-
After that page link generate as like "Testing"
-
Click on "Testing"
-
Now it navigates to URL like as below "https://gitlab.com///wikis/-Testing-"

-
Edit the page and add some content to it then SAVE the page.
-
Content is updated and in respective page.
-
Now edit again wiki add some more content to it then click "SAVE"

(How one can reproduce the issue - this is very important)
What is the current bug behavior?
Receiving 500 error
What is the expected correct behavior?
It should throw 500 as a error message or response
Edited by 🤖 GitLab Bot 🤖

