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

Adding Httpmodule handler Error #14

Open
leedavi opened this issue Nov 5, 2019 · 7 comments
Open

Adding Httpmodule handler Error #14

leedavi opened this issue Nov 5, 2019 · 7 comments
Labels
question Further information is requested

Comments

@leedavi
Copy link

leedavi commented Nov 5, 2019

Seems to puts site in loop.

I originally thought this was lowercase issue, but even when the module it working and doing the correct redirect, adding this handler makes the site turn until timeout.

@Timo-Breumelhof
Copy link
Contributor

We use it all the time and we don't have that issue, could it be you have redirects that redirect to each other?

@Timo-Breumelhof Timo-Breumelhof added the question Further information is requested label Nov 5, 2019
@leedavi
Copy link
Author

leedavi commented Nov 5, 2019

I checked that. But it certainly looks like it, although it works OK from the module on the 404 page. Maybe some setup I have that is not matching what should be.

Stephan said we can take a look together later in the week.

@Timo-Breumelhof
Copy link
Contributor

ok, is it the first httpmodule line in web.config?

@leedavi
Copy link
Author

leedavi commented Nov 6, 2019

Yes, I'll try and get time to debug it later this week.

@leedavi
Copy link
Author

leedavi commented Nov 7, 2019

I've done a quick test on a local dev system and it all works OK.

Checking data, I think the problme is we have a url of:

... mentions-légales

redirecting to a url of:

... mentions-legales

So I think the http module is looping on that, because of the accent being ignored.

@Timo-Breumelhof
Copy link
Contributor

Ok, are you doing the redirect mentions-légales > mentions-legales with our httpmodule?

@leedavi
Copy link
Author

leedavi commented Nov 8, 2019

Yes, hence I think the loop is happening. I've mentioned it to Stephan.

To solve it I simply renamed "mentions-legales" to "mentionslegales".

It was also uppercase "Mentions-légales", I think that might also be a loop condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants