diff --git a/src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java b/src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java index 7f647117e..e342e1261 100644 --- a/src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java +++ b/src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java @@ -22,7 +22,7 @@ public boolean process(HttpServletRequest req, HttpServletResponse resp, FilterC return false; } // Github will not follow redirects https://github.com/isaacs/github/issues/574 - pathInfo = pathInfo.endsWith("/") ? pathInfo : pathInfo + '/'; + pathInfo = pathInfo.endsWith("/") ? pathInfo : pathInfo + '/'; if (!pathInfo.equals(getExclusionPath())) { return false; }