Bug: update_wiki_page renames page to "unnamed" when page_name contains special characters #160
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The
update_wiki_pageMCP tool incorrectly renames wiki pages to "unnamed" when thepage_nameparameter contains URL-encoded special characters like:(encoded as%3A).Steps to Reproduce
:, e.g., "Change V04.1.0: Proposal"update_wiki_pagewithpage_nameset to the URL-encoded version:Change-V04.1.0%3A-ProposalExpected Behavior
The page should be updated with the new content while preserving its original title.
Actual Behavior
The page is renamed to "unnamed" and the original page title is lost.
Impact
Suggested Fix
The
update_wiki_pagefunction inmcp-servers/gitea/needs to:page_nameparameter before using itAffected Component
mcp-servers/gitea/- wiki operations