Skip to content

Commit

Permalink
[FIXED JENKINS-17085] Bogus requestHeaders value prevented crumb addi…
Browse files Browse the repository at this point in the history
…tion.

(Ah, the joys of dynamic typing!)
  • Loading branch information
jglick committed Mar 5, 2013
1 parent 470051c commit 50f14f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions changelog.html
Expand Up @@ -55,7 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
Preview function for textareas using Jenkins markup did not work when CSRF protection was enabled.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-17085">issue 17085</a>)
</ul>
</div><!--=TRUNK-END=-->

Expand All @@ -79,7 +81,7 @@ <h3><a name=v1.505>What's new in 1.505</a> <!--=DATE=--></h3>
Absolute URLs in console output
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16368">issue 16368</a>)
<li class=bug>
Revert ampersand encoding which can cause backwad incompatibility issue
Revert ampersand encoding which can cause backward incompatibility issue
(<a href="https://github.com/jenkinsci/jenkins/pull/683">pull 683</a>)
<li class=bug>
Fix dependency graph computation when upstream build trigger is involved
Expand Down
2 changes: 0 additions & 2 deletions core/src/main/resources/lib/form/textarea/textarea.js
Expand Up @@ -34,8 +34,6 @@ Behaviour.specify("DIV.textarea-preview-container", 'textarea', 100, function (e
};

new Ajax.Request(rootURL + showPreview.getAttribute("previewEndpoint"), {
method: "POST",
requestHeaders: "Content-Type: application/x-www-form-urlencoded",
parameters: {
text: text
},
Expand Down

0 comments on commit 50f14f2

Please sign in to comment.