Skip to content

Conversation

@rli
Copy link
Contributor

@rli rli commented Sep 27, 2024

Browsers would attempt to request favicon.ico which fail all request chains, leading to platform fallback to BuiltInWebServer/DefaultWebServerPathHandler.

This would be fine, except the platform webserver respects the browser's Connection: keep-alive flag and keep sthe Netty channel open, and subsequent requests to .../oauthCallback/... get handled by DefaultWebServerPathHandler and always return 404.

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

Browsers would attempt to request `favicon.ico` which fail all request chains, leading to fallback to `BuiltInWebServer`/`DefaultWebServerPathHandler`.

This would be fine, except the platform webserver respects the browser's `Connection: keep-alive` flag and keep the Netty channel open, and subsequent
requests to `.../oauthCallback/...` get handled by `DefaultWebServerPathHandler` and always return 404.
@rli rli requested a review from a team as a code owner September 27, 2024 00:38
@github-actions
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

<title>AWS Authentication</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="auth.css" />
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this href lead to?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its a blank PNG in base64

@rli rli merged commit 21fac72 into main Oct 1, 2024
7 of 8 checks passed
@rli rli deleted the rli/login-404 branch October 1, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants