Skip to content

URI trailing slashes? #637

Open
Open
@g105b

Description

@g105b

Currently the URIs are forced to have trailing slashes. I think this is necessary, but aesthetically I would prefer not to see trailing slashes at the end of URIs.

Original rationale for trailing slashes:

  1. Having trailing slashes helps identify WebEngine requests (rather than requests to static assets)
  2. Links can behave relatively (e.g. <a href="./something/">...</a>
  3. 307 can be used to preserve any POST data that's in the request

I personally think that these three points are obsolete, and can be achieved without trailing slashes.

Either way, work it out, document it and create some examples, especially for relative links. It might be worth making this configurable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions