Skip to content

Invalid html in default login page #6417

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

Closed
bestwmm opened this issue Jan 12, 2019 · 7 comments
Closed

Invalid html in default login page #6417

bestwmm opened this issue Jan 12, 2019 · 7 comments
Assignees
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Milestone

Comments

@bestwmm
Copy link

bestwmm commented Jan 12, 2019

Summary

Invalid html in spring-security/web/src/main/java/org/springframework/security/web/authentication/defaultLoginPageGeneratingFilter.java::generateLoginPageHtml.

Actual Behavior

div class="container" at line 237 is not closed. Closing div required around line 291 before "".

Page does not validate, but Chrome gracioiusly display the page correctly.

Expected Behavior

Pass validation test.

Configuration

n/a

Version

org.spring.framework.boot,l artifactID spring-boot-starter-security version 2.1.0.RELEASE

Sample

@rwinch
Copy link
Member

rwinch commented Jan 14, 2019

Thanks for the report @bestwmm! Would you be interested in submitting a PR for this?

@rwinch rwinch assigned rwinch and unassigned rwinch Jan 14, 2019
@rwinch rwinch added in: web An issue in web modules (web, webmvc) type: bug A general bug status: ideal-for-contribution An issue that we actively are looking for someone to help us with labels Jan 14, 2019
@bestwmm
Copy link
Author

bestwmm commented Jan 14, 2019 via email

@rwinch
Copy link
Member

rwinch commented Jan 15, 2019

Yes. If you are wanting to learn more, GitHub has more information on what a Pull Request (PR) is. If you are unable to help, that is fine, but your help is always welcome :)

@ankurpathak
Copy link
Contributor

@rwinch I would like to take this one.

@rwinch
Copy link
Member

rwinch commented Jan 16, 2019

Thanks @ankurpathak! The issue is yours.

@bestwmm If you are wanting to help out with another issue, please use the Help Wanted tag to find issues we feel are good for contributions.

@ankurpathak
Copy link
Contributor

Here is pull request for issue:
#6448

@bestwmm
Copy link
Author

bestwmm commented Jan 17, 2019

Here is pull request for issue:
#6448

Thank you.

ankurpathak added a commit to ankurpathak/spring-security that referenced this issue Jan 18, 2019
@rwinch rwinch closed this as completed in ffe602f Jan 22, 2019
@rwinch rwinch added this to the 5.2.0.M2 milestone Jan 22, 2019
@rwinch rwinch self-assigned this Jan 22, 2019
@rwinch rwinch removed the status: ideal-for-contribution An issue that we actively are looking for someone to help us with label Jan 22, 2019
rwinch pushed a commit that referenced this issue Jan 22, 2019
Ending div moved  out of condition.

Fixes: gh-6417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants