[an error occurred while processing the directive]
cosign-discuss at umich.edu
general discussion of cosign development and deployment
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

url for services should be secure?



Shouldn't the URL for the services menu be secure? (Not because it's sensitive info, but because most people are only running the login/logout service on the secure port.)

Patch attached.

-Phil

--- cgi.c.ORIG  Tue May 11 23:49:39 2004
+++ cgi.c       Wed May 12 14:15:05 2004
@@ -290,7 +290,7 @@
        }
 
        /* authentication successful, show service menu */
-       printf( "Location: http://%s%s\n\n";, cosign_host, SERVICE_MENU );
+       printf( "Location: https://%s%s\n\n";, cosign_host, SERVICE_MENU );
        exit( 0 );
     }
 
@@ -613,7 +613,7 @@
        exit( 0 );
     }
 
-    printf( "Location: http://%s%s\n\n";, cosign_host, SERVICE_MENU );
+    printf( "Location: https://%s%s\n\n";, cosign_host, SERVICE_MENU );
     exit( 0 );
 
 loginscreen:

[an error occurred while processing the directive]