From 78e8bf43c26ba8b6081eab97b4b7d38841188449 Mon Sep 17 00:00:00 2001 From: james ransom <43888908+james-ransom@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:56:07 -0700 Subject: [PATCH] Fixed the function call name Fixed the function call name for signedUrl. It should be signed_url like the included php code. --- cdn/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdn/README.md b/cdn/README.md index 7d490cce24..35500dff11 100644 --- a/cdn/README.md +++ b/cdn/README.md @@ -8,6 +8,6 @@ The provided file includes implementation of base64url encode and decode functio ```php require_once 'signUrl.php'; $base64url_key = 'wpLL7f4VB9RNe_WI0BBGmA=='; // head -c 16 /dev/urandom | base64 | tr +/ -_ -$signed_url = signUrl('https://example.com/foo', 'my-key', $base64url_key, time() + 1800); +$signed_url = sign_url('https://example.com/foo',%20'my-key',%20$base64url_key,%20time() + 1800); echo $signed_url; ```