Skip to content

Cannot delete wiki page which title containing double quote symbol #7596

Closed

Description

@pavel-givola

Gogs version

0.14.0+dev

Git version

2.34.1

Operating system

Ubuntu 22.04 LTS

Database

PostgreSQL 14

Describe the bug

Cannot delete wiki page which title containing double quote symbol ". It's redirecting to the wiki pages list after clicking Delete page -> Yes and the wiki page still appears in the list

To reproduce

Create a wiki page with title containing double quote symbol Test "Word" for example

Expected behavior

Wiki page supposed to be deleted

Additional context

In the list of wiki pages title displayed like Test \"Word\". When go to editing page it's displaying like Test \" Word\"

After editing wiki page a new entry appears (which can be deleted).

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. pavel-givola commented on Nov 10, 2023

    @pavel-givola
    Author

    I managed to delete it manually from /gogs-location-dir/data/tmp/local-wiki/ with rm -r 'file.md' and then committed it. But that quite "dirty-hack" solution I think. Would be better to fix the bug I described

  2. locked as resolved and limited conversation to collaborators on Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址