Skip to content

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

@pavel-givola

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

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