mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 12:49:36 +00:00
Fix bug in wrapper scripts parameter passing
Parameters to the wrapper scripts were passed incorrectly to the 'curl-impersonate' binary.
This commit is contained in:
@@ -23,4 +23,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
|||||||
--http2 --false-start --compressed \
|
--http2 --false-start --compressed \
|
||||||
--tlsv1.2 --no-npn --alps \
|
--tlsv1.2 --no-npn --alps \
|
||||||
--cert-compression brotli \
|
--cert-compression brotli \
|
||||||
$@
|
"$@"
|
||||||
|
@@ -23,4 +23,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
|||||||
--http2 --false-start --compressed \
|
--http2 --false-start --compressed \
|
||||||
--tlsv1.2 --no-npn --alps \
|
--tlsv1.2 --no-npn --alps \
|
||||||
--cert-compression brotli \
|
--cert-compression brotli \
|
||||||
$@
|
"$@"
|
||||||
|
@@ -19,4 +19,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
|||||||
-H 'Sec-Fetch-Site: none' \
|
-H 'Sec-Fetch-Site: none' \
|
||||||
-H 'Sec-Fetch-User: ?1' \
|
-H 'Sec-Fetch-User: ?1' \
|
||||||
--http2 --false-start --compressed \
|
--http2 --false-start --compressed \
|
||||||
$@
|
"$@"
|
||||||
|
@@ -19,4 +19,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
|||||||
-H 'Sec-Fetch-Site: none' \
|
-H 'Sec-Fetch-Site: none' \
|
||||||
-H 'Sec-Fetch-User: ?1' \
|
-H 'Sec-Fetch-User: ?1' \
|
||||||
--http2 --false-start --compressed \
|
--http2 --false-start --compressed \
|
||||||
$@
|
"$@"
|
||||||
|
Reference in New Issue
Block a user