diff options
| author | callum <none@none> | 2009-11-23 17:35:47 -0800 | 
|---|---|---|
| committer | callum <none@none> | 2009-11-23 17:35:47 -0800 | 
| commit | fdf80d2af35c5e2ce06f86f8710b470abf7ab387 (patch) | |
| tree | 368804880923b667f392153db4be1c470c6329c9 | |
| parent | 1b07c1d7fb5b6d3ce15083bc3dbb65a3f0ac8006 (diff) | |
Fix for DEV-42997 404s result in blank page
Also needs a tweak to LLQtWebKit that stops navigation to
404 URL specified in code if the URL is empty.
| -rw-r--r-- | indra/newview/llviewermedia.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 8c41133a3a..9dfdf3d5b1 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -169,6 +169,12 @@ public:  			completeAny(status, "text/html");  		}  		else +		if(status == 404) +		{ +			// Treat 404s like an html page. +			completeAny(status, "text/html"); +		} +		else  		{  			llwarns << "responder failed with status " << status << ", reason " << reason << llendl; | 
