From: zach Date: Fri, 18 Jul 2008 18:50:53 +0000 (-0400) Subject: Twitter-compatible API - added missing double quotes to WWW-Authenticate header X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cebbff432a8a0c8087f56d8c8de0865d17441150;p=quix0rs-gnu-social.git Twitter-compatible API - added missing double quotes to WWW-Authenticate header darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz --- diff --git a/actions/api.php b/actions/api.php index eeee77ec2f..97da359fea 100644 --- a/actions/api.php +++ b/actions/api.php @@ -53,7 +53,7 @@ class ApiAction extends Action { if (!isset($_SERVER['PHP_AUTH_USER'])) { # This header makes basic auth go - header('WWW-Authenticate: Basic realm="Laconica API'); + header('WWW-Authenticate: Basic realm="Laconica API"'); # if the user hits cancel -- bam! common_show_basic_auth_error();