Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix markdown #489

Merged
merged 1 commit into from
Oct 20, 2018
Merged

Fix markdown #489

merged 1 commit into from
Oct 20, 2018

Conversation

antonio-guillen
Copy link
Contributor

No description provided.

@jelmer jelmer merged commit f2333d7 into isso-comments:master Oct 20, 2018
ix5 added a commit to ix5/isso that referenced this pull request Jun 5, 2022
```
/admin -> /admin/
/login  -> /login/
```

Since any non-API page can reasonably be expected to end in
a trailing slash by visitors (it is a path, not a file),
set the trailing slash version as canonical.

This has another positive side-effect:
Visiting `isso.dev/admin` (without trailing slash) will
redirect to `/admin/` automatically, thus obviating issues
like isso-comments#489 [^1]. Any Javascript or CSS files are not affected
as they are served throught the `SharedDataMiddleware` in
`__init__.py`` anyway.

[^1]: isso-comments#498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants