[asterisk-dev] kpfleming: branch 1.4 r134983 - /branches/1.4/main/http.c

Russell Bryant russell at digium.com
Thu Jul 31 21:20:06 CDT 2008


On Jul 31, 2008, at 5:18 PM, SVN commits to the Digium repositories  
wrote:

> Author: kpfleming
> Date: Thu Jul 31 17:18:11 2008
> New Revision: 134983
>
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=134983
> Log:
> accomodate users who seem to lack a sense of humor :-)

We're coming across more and more reasons that we should add a  
"senseofhumor=no" option.  :)

>
>
>
> Modified:
>    branches/1.4/main/http.c
>
> Modified: branches/1.4/main/http.c
> URL: http://svn.digium.com/view/asterisk/branches/1.4/main/http.c?view=diff&rev=134983&r1=134982&r2=134983
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- branches/1.4/main/http.c (original)
> +++ branches/1.4/main/http.c Thu Jul 31 17:18:11 2008
> @@ -167,12 +167,12 @@
> out404:
> 	*status = 404;
> 	*title = strdup("Not Found");
> -	return ast_http_error(404, "Not Found", NULL, "Nothing to see  
> here.  Move along.");
> +	return ast_http_error(404, "Not Found", NULL, "The requested URL  
> was not found on this server.");
>
> out403:
> 	*status = 403;
> 	*title = strdup("Access Denied");
> -	return ast_http_error(403, "Access Denied", NULL, "Sorry, I cannot  
> let you do that, Dave.");
> +	return ast_http_error(403, "Access Denied", NULL, "You do not have  
> permission to access the requested URL.");
> }
>
>
> @@ -367,7 +367,7 @@
> 		ast_rwlock_unlock(&uris_lock);
> 	} else if (ast_strlen_zero(uri) && ast_strlen_zero(prefix)) {
> 		/* Special case: If no prefix, and no URI, send to /static/ 
> index.html */
> -		c = ast_http_error(302, "Moved Temporarily", "Location: /static/ 
> index.html\r\n", "This is not the page you are looking for...");
> +		c = ast_http_error(302, "Moved Temporarily", "Location: /static/ 
> index.html\r\n", "Redirecting to /static/index.html.");
> 		*status = 302;
> 		*title = strdup("Moved Temporarily");
> 	} else {
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/svn-commits

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.







More information about the asterisk-dev mailing list