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

Fix #3618 - Fix unset submit_type #3619

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Fix #3618 - Fix unset submit_type #3619

merged 1 commit into from
Sep 13, 2021

Conversation

ksy36
Copy link
Contributor

@ksy36 ksy36 commented Sep 10, 2021

This is a fix for the bug that leads to 400 because submit type (github/anonymous) is not set.

The issue is happening when you click on the GitHub logo inside the button, so the target ends up being that logo and not the button itself. Because that logo doesn't have a name, submit_type was set as an empty string.

@ksy36 ksy36 requested a review from karlcow September 10, 2021 19:37
@ksy36
Copy link
Contributor Author

ksy36 commented Sep 10, 2021

r? @karlcow

@ksy36
Copy link
Contributor Author

ksy36 commented Sep 10, 2021

kind of surprised we didn't catch this before 😀

@miketaylr
Copy link
Member

kind of surprised we didn't catch this before 😀

Yeah, this is really bizarre.

Copy link
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

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

Wonderful! Thanks for making it better.

@karlcow karlcow changed the title Issue #3618 - Fix unset submit_type Fix #3618 - Fix unset submit_type Sep 13, 2021
@karlcow karlcow merged commit 6aaed8a into main Sep 13, 2021
@ksy36 ksy36 deleted the issue/3618/1 branch September 13, 2021 22:39
@ksy36
Copy link
Contributor Author

ksy36 commented Sep 13, 2021

Thanks!

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.

3 participants