Skip to content

Make the generated URLs shorter #12

Description

@oanalavinia

Right now the generated URLs are of the following form http://localhost:8080/xwiki/rest/p/{pageID}. The idea of this issue is to remove the rest part, making the URLs as http://localhost:8080/xwiki/p/{pageID}.

Then all new links (links copied using the Get shortened URL button) will be of this form.
Note that any link copied previously to this implementation will continue to work as expected, to not break backwards compatibility.

This needs to be done by using https://extensions.xwiki.org/xwiki/bin/view/Extension/Resource%20API#HAddinganewResourceTypeHandler

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions