Skip to content

Commit a42b33b

Browse files
author
Sefi Krausz
committed
RM-725 changes to PHP CURL code snippet
1 parent f9f0881 commit a42b33b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/targets/php/curl.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ module.exports = function (source, options) {
4646
escape: false,
4747
name: 'CURLOPT_RETURNTRANSFER',
4848
value: 'true'
49+
}, {
50+
escape: false,
51+
name: 'CURLOPT_FOLLOWLOCATION',
52+
value: 'true'
4953
}, {
5054
escape: true,
5155
name: 'CURLOPT_ENCODING',

0 commit comments

Comments
 (0)