Skip to content

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox

Fix bug in wrapper scripts parameter passing

lwthiker2f0c0af621d6
diff --git a/chrome/curl_chrome98 b/chrome/curl_chrome98
index f29400b..05d1e74 100755
--- a/chrome/curl_chrome98
+++ b/chrome/curl_chrome98
@@ -23,4 +23,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
--http2 --false-start --compressed \
--tlsv1.2 --no-npn --alps \
--cert-compression brotli \
- $@
+ "$@"
diff --git a/chrome/curl_edge98 b/chrome/curl_edge98
index 2139af6..cfe9242 100755
--- a/chrome/curl_edge98
+++ b/chrome/curl_edge98
@@ -23,4 +23,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
--http2 --false-start --compressed \
--tlsv1.2 --no-npn --alps \
--cert-compression brotli \
- $@
+ "$@"
diff --git a/firefox/curl_ff91esr b/firefox/curl_ff91esr
index 870e446..12f7bd6 100755
--- a/firefox/curl_ff91esr
+++ b/firefox/curl_ff91esr
@@ -19,4 +19,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
-H 'Sec-Fetch-Site: none' \
-H 'Sec-Fetch-User: ?1' \
--http2 --false-start --compressed \
- $@
+ "$@"
diff --git a/firefox/curl_ff95 b/firefox/curl_ff95
index 15b2074..34ce46d 100755
--- a/firefox/curl_ff95
+++ b/firefox/curl_ff95
@@ -19,4 +19,4 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
-H 'Sec-Fetch-Site: none' \
-H 'Sec-Fetch-User: ?1' \
--http2 --false-start --compressed \
- $@
+ "$@"