-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins version 2.107.1
Office 365 Connector Plugin version 4.5
CloudBees Folders Plugin version 6.1.2
Blue Ocean Plugin version 1.3.3
For the "View Build" link in notification e-mails, forward slashes for folders in Blue Ocean job URL paths are encoded to a double forward slash instead of a single forward slash.
Notification webhooks
URL: https://outlook.office.com/webhook/e280b...
- Expected: should be forward slash ( / ): %2F
https://hostname/jenkins/blue/organizations/jenkins/foldername%2Ffoldername%2Ffoldername%2Ffoldername/detail/projectname/2/pipeline - Actual: double forward slash ( // ): %252F
https://hostname/jenkins/blue/organizations/jenkins/foldername%252Ffoldername%252Ffoldername%252Ffoldername/detail/projectname/2/pipeline
Related issue: JENKINS-53261
I'm not sure why I am the default assignee here. It looks like outconn is the maintainer of office-365-connector-plugin, so I am assigning it to him. It should be easy enough to check whether the bug is in that plugin or if the URL it gets from https://github.com/jenkinsci/blueocean-display-url-plugin has already been double-escaped in which case that plugin would need to be fixed.
Also note: the problem is not 2 slashes (which would be %2f%2f), but that / was encoded twice: Once into %2f, and then the % was encoded again resulting in %252f