Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
Stapler implements only the servlet 2.5 API - yet Jenkins uses 3.1
If you attempt to use parts of the 3.1 API on a StaplerRequest or StaplerResponse then wierd/bad things could happen depending on what you get underneath..
I have not observed any issues yet - but if you get a org.kohsuke.stapler.StaplerResponseWrapper rather than a org.kohsuke.stapler.ResponseImpl then things are liable to blow up. the same probably applies to StaplerRequest sub classes.
Attachments
Issue Links
- causes
-
JENKINS-68696 Remove javax.servlet:servlet-api dependency
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Labels | stapler |
Remote Link | This issue links to "upstream Stapler issue stapler/stapler#114 (Web Link)" [ 16407 ] |
Assignee | James Nord [ teilo ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | stapler | stapler winstone |
Labels | stapler winstone | core stapler winstone |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Remote Link | This issue links to "CloudBees Internal OSS-2245 (Web Link)" [ 18375 ] |
Assignee | James Nord [ teilo ] |
Link |
This issue causes |