Do not modify keyboard shortcut when User-Agent header is not set#10413
Do not modify keyboard shortcut when User-Agent header is not set#10413timja merged 2 commits intojenkinsci:masterfrom
Conversation
|
Yay, your first pull request towards Jenkins core was created successfully! Thank you so much! |
|
Hey thanks - what scenario are you facing where the user agent header is null? This PR just needs a little formatting, otherwise looks fine to me. |
We use a custom Jenkins plugin which contacts an external server (including a callback to my Jenkins). I hope this answers your question. |
I used |
19dd9f8 to
6facb8e
Compare
|
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
|
Congratulations on getting your very first Jenkins core pull request merged 🎉🥳 |
java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "userAgent" is null
See JENKINS-XXXXX.
Testing done
No manual testing done.
Proposed changelog entries
Proposed changelog category
/label bug
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@mention
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered (see query).