Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Jul 27, 2023
2 parents 055d271 + 8052d25 commit fc1a6be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ This file documents any relevant changes done to ViUR-core since version 3.0.0.
- fix: `CredentialBone` without escaping (#702)
- chore: Improve `StringBone` (#714)

## [3.4.6]

- fix(seo): Incoming url is compared wrong (#801)

## [3.4.5]

- fix: Add missing fallback for `NumericBone.refresh()` destroying valid data (#793)
Expand Down
2 changes: 1 addition & 1 deletion core/prototypes/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def index(self, *args, **kwargs) -> Any:
seoUrl = utils.seoUrlToEntry(self.moduleName, skel)
# Check whether this is the current seo-key, otherwise redirect to it

if current.request.get().request.path != seoUrl:
if current.request.get().request.path.lower() != seoUrl:
raise errors.Redirect(seoUrl, status=301)
self.onView(skel)
return self.render.view(skel)
Expand Down

0 comments on commit fc1a6be

Please sign in to comment.