summaryrefslogtreecommitdiffstats
path: root/35.patch
diff options
context:
space:
mode:
Diffstat (limited to '35.patch')
-rw-r--r--35.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/35.patch b/35.patch
new file mode 100644
index 0000000..4751c02
--- /dev/null
+++ b/35.patch
@@ -0,0 +1,25 @@
+From 633d0a55cd23d17c6a2e964d7671348b682af761 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 4 Jul 2025 14:45:20 +0200
+Subject: [PATCH] arg_separators.input is an zend_string in 8.5
+
+---
+ oauth.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/oauth.c b/oauth.c
+index 1493eb7..a7fd6cc 100644
+--- a/oauth.c
++++ b/oauth.c
+@@ -60,7 +60,11 @@ static int oauth_parse_str(char *params, zval *dest_array) /* {{{ */
+ }
+
+ res = params;
++#if PHP_VERSION_ID < 80500
+ separator = (char *) estrdup(PG(arg_separator).input);
++#else
++ separator = (char *) estrdup(ZSTR_VAL(PG(arg_separator).input));
++#endif
+ var = php_strtok_r(res, separator, &strtok_buf);
+ while (var) {
+ val = strchr(var, '=');