webengine/osswebengine/WebKit/s60/plugins/PluginStream.cpp
changeset 16 a359256acfc6
parent 0 dd21522fd290
child 17 c8a366e56285
--- a/webengine/osswebengine/WebKit/s60/plugins/PluginStream.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/webengine/osswebengine/WebKit/s60/plugins/PluginStream.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -282,6 +282,11 @@
             fileExtPtr.Set(fileExtPtr.Left(i));
         }
 
+        // remove any '/' at the end  
+    if ( fileExtPtr[fileExtPtr.Length() - 1] == '/' ) {
+            fileExtPtr.Set(fileExtPtr.Left(fileExtPtr.Length() - 1));
+        } 
+        
         //  Trim anything left of path, the last '/'
         // "http://www.xyz.com/flashy.swf" -> "flashy.swf"
         i = fileExtPtr.LocateReverse('/');