Skip to content
Snippets Groups Projects
Commit 77009a36 authored by Callum Prentice's avatar Callum Prentice
Browse files

EXT-5363 webkit does not strip spaces off a typed-in URL

Reviewed by CB
parent ca6caad6
No related branches found
No related tags found
No related merge requests found
......@@ -1318,6 +1318,9 @@ void LLViewerMediaImpl::loadURI()
{
if(mMediaSource)
{
// trim whitespace from front and back of URL - fixes EXT-5363
LLStringUtil::trim( mMediaURL );
// *HACK: we don't know if the URI coming in is properly escaped
// (the contract doesn't specify whether it is escaped or not.
// but LLQtWebKit expects it to be, so we do our best to encode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment