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

500 internal server error due to invalid HTML template in enroll, login , challenge form #9111

Closed
exalate-issue-sync bot opened this issue Jun 28, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Jun 28, 2023

Describe the bug :

the fix provided in github issue 9000 (No dot display "Internal Server Error") not working as expected.

The original error cases were resolved but now show the customizable "Error" form

However, if there is a malformed HTML in one of the login forms (Enroll, Login, challenge etc) the "Internal Server Error" page is still presented.

The below is an example of a form html error, confirmed produces the “Internal Server Error”.

Using this on teh MFA Enroll form/template.

[!DOCTYPE html][html lang="en" xmlns:th="http://www.thymeleaf.org"][head] [title]Auto-Owners Insurance[/title][/head][body] [div][/div[/html]

So, the div was intentionally left not closed in order to break the form. This is what triggers the “Internal Server Error”

Tested on release 3.20.5

@zveljanoski zveljanoski added this to To Do in Access Management via automation Jun 28, 2023
@zveljanoski zveljanoski modified the milestones: AM - 3.18.x, AM - 3.20.0 Jun 28, 2023
@exalate-issue-sync exalate-issue-sync bot removed this from the AM - 3.20.0 milestone Jun 28, 2023
@exalate-issue-sync exalate-issue-sync bot changed the title Re: RE: Gravitee Support follow-up [5969]: Question on Usage of the AM "Error" Form 500 internal server error due to invalid HTML template enroll, login , challenge form Aug 17, 2023
@exalate-issue-sync exalate-issue-sync bot changed the title 500 internal server error due to invalid HTML template enroll, login , challenge form 500 internal server error due to invalid HTML template in enroll, login , challenge form Aug 17, 2023
Access Management automation moved this from To Do to Done Sep 22, 2023
@exalate-issue-sync
Copy link
Author

This issue has been fixed in versions 3.21.7, 3.20.12, 4.0.2, 4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant