Issue with serving content with "class" in the URL

28 views
Skip to first unread message

Richard Bywater

unread,
Aug 19, 2018, 6:56:23 AM8/19/18
to jenkin...@googlegroups.com
Hi

I'm hoping to find someone who can assist in an issue that has been raised against the HTML Publisher before I go digging around in the Jenkins code.

https://issues.jenkins-ci.org/browse/JENKINS-53095 has been raised that says that, if you have a directory with the name "class" that ends up getting served by the HTML Publisher plugin, an error is returned.

I've tested it myself and it indeed does return a 404 error with a "Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request" response.

Is this a known "feature" and, if so, is there a way to work around it or is serving content with a directory name of "class" just not possible?

Thanks in advance for any pointers
Richard.

Daniel Beck

unread,
Aug 20, 2018, 9:36:22 AM8/20/18
to jenkin...@googlegroups.com


> On 19. Aug 2018, at 12:56, Richard Bywater <ric...@byh2o.com> wrote:
>
> Is this a known "feature" and, if so, is there a way to work around it or is serving content with a directory name of "class" just not possible?

It's basically a reserved word in Stapler. Unfortunately there's nothing your plugin can do to address this.

Reply all
Reply to author
Forward
0 new messages