Closed nambrosch closed 4 years ago
something like this should work @ https://github.com/voxpupuli/puppet-jira/blob/master/templates/server.xml.erb#L77
<% if @version >= 7.12 -%>
relaxedPathChars="[]|"
relaxedQueryChars="[]|{}^\`"<>"
<% end -%>
As a workaround you can append these to the proxy parameter, eg: proxy => { 'scheme' => 'https', 'proxyName' => $facts['hostname'], 'proxyPort'=>'443', 'relaxedPathChars'=>'[]|', 'relaxedQueryChars'=>'[]|{}^\`"<>' },
this workaround works, thank you. i'll keep an eye out for the next update.
proxy => {
proxyName => 'mysite.com',
proxyPort => '443',
relaxedPathChars => '[]|',
relaxedQueryChars => '[]|{}^\`"<>',
scheme => 'https',
},
BUMP for this issue, this change is also needed on JIRA 7.13.0
Hi @nambrosch or @mcruzmetrostar, could one of you provide a PR for this?
This was actually added in f6bd5405ec50ae5e444a38a869b7b647d9764ff9 so this can get closed?
@mojibake-umd yes, i've been using module version 4.0.0 since june 20th and it works fine.
Jira 7.12 runs on tomcat 8.5 and needs additional connector parameters -
https://confluence.atlassian.com/jirakb/changing-server-xml-to-handle-requests-with-special-characters-958453799.html
Here's the new default connector -
Please provide a way to add relaxedPathChars and relaxedQueryChars. Thanks!