fix(gitea-mcp): URL-encode wiki page names and include title in updates #168
Reference in New Issue
Block a user
Delete Branch "fix/160-wiki-page-unnamed-bug"
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?
Summary
Fixes #160:
update_wiki_pagewas renaming pages to "unnamed"Root Causes
page_namewas not URL-encoded, breaking pages with special characters like:titlefield, causing Gitea to use default nameChanges
urllib.parse.quote) to:get_wiki_pageupdate_wiki_pagedelete_wiki_pagetitle: page_nametoupdate_wiki_pagepayload to preserve page nameTesting
After merging, wiki pages with special characters (e.g.,
Change V04.1.0: Proposal) can be updated without being renamed to "unnamed".🤖 Generated with Claude Code