RESOLVED FIXED256998
[Website] payment-request demo backend has a syntax error
https://bugs.webkit.org/show_bug.cgi?id=256998
Summary [Website] payment-request demo backend has a syntax error
Alex Zenla
Reported 2023-05-18 17:45:31 PDT
Upon doing other things in WebKit, I noticed a syntax error in the backend code for the payment-request demo. if (!$result = curl_exec($curlConnection)) die('An error occurred when connecting to the validation URL.')); Running this code (note, I recognize this is a web PHP file, yet this will check the syntax) provides this error. alex@sodium WebKit % php Websites/webkit.org/demos/payment-request/merchant-validation.php PHP Parse error: Unmatched ')' in /Users/alex/Developer/Web/WebKit/Websites/webkit.org/demos/payment-request/merchant-validation.php on line 94 Parse error: Unmatched ')' in /Users/alex/Developer/Web/WebKit/Websites/webkit.org/demos/payment-request/merchant-validation.php on line 94
Attachments
Alex Zenla
Comment 1 2023-05-18 17:52:41 PDT
EWS
Comment 2 2023-05-22 14:21:06 PDT
Committed 264378@main (365d91ad2c52): <https://commits.webkit.org/264378@main> Reviewed commits have been landed. Closing PR #14048 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-05-22 14:22:17 PDT
Note You need to log in before you can comment on or make changes to this bug.