Status: Resolved (View Workflow)
Jenkins version 2.150.1
Chrome Version 71.0.3578.98 (Official Build) (64-bit)
When on the /configure page when trying to upload a new image to /userContent using the sidebar-link plugin the following error is generated.
HTTP ERROR 403
Problem accessing /plugin/sidebar-link/upload. Reason:
No valid crumb was included in the request
Powered by Jetty:// 9.4.z-SNAPSHOT
The result of this error is due to CSRF protection in Jenkins 2.x. The current workaround is for a user to complete the following steps:
- Visit /configureSecurity page
- Disable Prevent Cross Site Request Forgery exploits ** temporarily
- Visit /configure upload the image desired
- relates to
JENKINS-8320 Provide upload button for Icons
- links to
This bug cannot be reproduced in Sidebar Link versions 1.11.0 to 2.0.0 because those suffer from https://github.com/jenkinsci/sidebar-link-plugin/issues/28 instead.