From cebbff432a8a0c8087f56d8c8de0865d17441150 Mon Sep 17 00:00:00 2001 From: zach Date: Fri, 18 Jul 2008 14:50:53 -0400 Subject: [PATCH] Twitter-compatible API - added missing double quotes to WWW-Authenticate header darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz --- actions/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();