]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter-compatible API - added missing double quotes to WWW-Authenticate header
authorzach <zach@copley.name>
Fri, 18 Jul 2008 18:50:53 +0000 (14:50 -0400)
committerzach <zach@copley.name>
Fri, 18 Jul 2008 18:50:53 +0000 (14:50 -0400)
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz

actions/api.php

index eeee77ec2f1bafd82f7dd6e5fdab3ff01431e32b..97da359feaba25e5239feef6b10e84f581091590 100644 (file)
@@ -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();