diff --git a/lib/class-wp-rest-oauth1.php b/lib/class-wp-rest-oauth1.php index d95e060..010e5e5 100644 --- a/lib/class-wp-rest-oauth1.php +++ b/lib/class-wp-rest-oauth1.php @@ -731,7 +731,7 @@ public function join_with_equals_sign( $params, $query_params = array(), $key = if ( $key ) { $param_key = $key . '[' . $param_key . ']'; // Handle multi-dimensional array } - $string = $param_key . '=' . $param_value; // join with equals sign + $string = urlencode( $param_key ) . '=' . urlencode( $param_value ); // join with equals sign $query_params[] = urlencode( $string ); } }