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

V9 RC4: Content finder causing redirect to /account/accessdenied #11183

Closed
mattbrailsford opened this issue Sep 23, 2021 · 0 comments
Closed

Comments

@mattbrailsford
Copy link
Contributor

mattbrailsford commented Sep 23, 2021

Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8

Umbraco v9 RC4

Bug summary

Accessing a URL in Umbraco that gets handled by a content finder, the content finder successfully triggers and calls request.SetRedirect(url) and returns true, but the site is getting redirected to /account/accessdenied in some kind of infinite loop until the error The request filtering module is configured to deny a request where the query string is too long. is thrown.

Specifics

No response

Steps to reproduce

  • Create a content finder that redirects to a parent node
  • Register the content finder before ContentFinderByUrl
  • Call a URL on the front end that gets handled by the content finder
  • Response ends up in an infinite loop

Expected result / actual result

I'd expect to be redirected accordingly to the returned URL.

Shazwazza added a commit that referenced this issue Sep 25, 2021
bergmania added a commit that referenced this issue Sep 26, 2021
* Fixes #11189

* Fixes #11183

* Fix test Null_When_No_Content_On_PublishedRequest.

Believe this is reasonable.

* Update src/Umbraco.Web.Website/Routing/PublicAccessRequestHandler.cs

Co-authored-by: Paul Johnson <[email protected]>
Co-authored-by: Bjarke Berg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants