Description: "base" parameter is always to be considered a directory. All cases
 in plugin/test/baseuri/ succeed now
Author: Sandro Santilli <strk@keybit.net>

--- a/gui/Player.cpp
+++ b/gui/Player.cpp
@@ -314,9 +314,12 @@
 
     // Parse player parameters. These are not passed to the SWF, but rather
     // control stage properties etc.
+    // NOTE: it is intentional to force a trailing slash to "base" argument
+    //       as it was tested that the "base" argument is always considered
+    //       a directory!
     Params::const_iterator it = _params.find("base");
     const URL baseURL = (it == _params.end()) ? _baseurl :
-                                               URL(it->second, _baseurl);
+                                               URL(it->second+"/", _baseurl);
     /// The RunResources should be populated before parsing.
     _runResources.reset(new RunResources(baseURL.str()));
 
