Skip to content

Wiki page title must be urlencoded #374

@Art4

Description

@Art4

Creating a wiki page requires a page title. This page title will be part of the endpoint, like PUT /projects/foo/wiki/testpage.xml.

If you provide a page title with a space ( ) a Redmine\Exception\ClientException will be thrown.

Example:

$pageTitle = 'test page';

$client->getApi('wiki')->create($projectIdentifier, $pageTitle, [
    'text' => '# First Wiki page',
]);

If the page title is urlencoded (test%20page), the wiki page will be created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions