File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,12 @@ def milliseconds_to_datetime(m):
264
264
function fastspringOnPopupWebhookReceived(data) {
265
265
if (!data) return;
266
266
var xhr = new XMLHttpRequest();
267
- xhr.open("POST", "{{ webhook }}", true);
267
+ xhr.open("POST", "{{ webhook | safe }}", true);
268
268
xhr.setRequestHeader("Content-Type", "application/json");
269
269
xhr.onreadystatechange = function() {
270
270
if (xhr.readyState === XMLHttpRequest.DONE) {
271
271
if (xhr.status === 200) {
272
- fastspringRedirectUrl = '{{ request.url }}';
272
+ fastspringRedirectUrl = '{{ request.url | safe }}';
273
273
} else if (xhr.status === 201 || (301 <= xhr.status && xhr.status <= 303)) {
274
274
fastspringRedirectUrl = xhr.getResponseHeader("Location");
275
275
} else {
You can’t perform that action at this time.
0 commit comments