Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3318

Closed
Open
Created Mar 23, 2013 by Administrator@rootOwner

Creating a wikipage with slash results in 500 error

Created by: sjoerdmulder

It does create the page though, when i checkout the wiki using the git-access it has created it. But gitlab doesn't seem to recognize it properly.

Result from production.log file

Started POST "/wiki/wikis" for 127.0.0.1 at 2013-03-23 13:26:28 +0100
Processing by WikisController#create as HTML
  Parameters: {"utf8"=>"✓", "wiki"=>{"title"=>"extra/file", "format"=>"markdown", "content"=>"# Why?", "message"=>""}, "project_id"=>"wiki"}
Completed 500 Internal Server Error in 43ms

NoMethodError (undefined method `escaped_url_path' for nil:NilClass):
  app/models/wiki_page.rb:160:in `set_attributes'
  app/models/wiki_page.rb:171:in `save'
  app/models/wiki_page.rb:127:in `create'
Assignee
Assign to
Time tracking