2023-08-10

GitLab wiki page title with special character issue.


Finding:
  1. GitLab Community Edition 10.8.7 able to show wiki Page content of "Noob version)"


Solutions:

  1. Upgrade to GitLab that can edit the page, but I didn't log down which version.
  2. Open the Wiki Page, and remove those characters.
  3. Then you can clone the wiki page to your local.



Background

GitLab Community Edition 10.1.0 5a695c4

Users created some wiki pages with title of below:

  1. How-to-Deploy-your-Project(-Front-end)-From-VSC-locally?-(Newbie/Noob version)
  2. Instance ip.address:9010 operation process flow


Impacts

Character "?"

  1. Wiki Page structures screwed up.
  2. Unable to open the page "Noob version)", as / is valid and act as sub page of a parent page of text before "/"
  3. Failed to clone to windows environment as not allow "?" as filename.

Character ":"

  1. Wiki Page showing correctly.
  2. Wiki Page has no issue to be edited.
  3. But failed to clone to windows environment as not allow ":" as filename.

Clone script

git clone ssh://git@test.gitlab.yourcompany.local:2202/com/yourcompany/general.wiki.git

 - Replaced ":" character with "-" at WIKI Page Title

Special characters been identified causing cloning wiki issue:

  1. -
  2. ?





















No comments:

Google Referrals