Skip to content

SchemaProvider::getSelfSubUrl returns URl with and without ending '/' depending on input resource #123

@neomerx

Description

@neomerx

If resource is given it returns something like '/posts/2' (note no ending '/') but if null given it returns '/posts/' (with ending '/'). This lead to double slashes in URLs for resources without identities e.g. '/profile//relationships/comments'.

Need more consistency. It should be no trailing '/' in all cases.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions