--- js/base.js	2010-03-10 21:08:58.000000000 +0100
+++ js/base_new.js	2010-06-22 13:47:39.484639770 +0200
@@ -80,8 +80,11 @@ Drupal.Views.parseViewArgs = function (h
   var returnObj = {};
   var path = Drupal.Views.getPath(href);
   // Ensure we have a correct path.
-  if (viewPath && path.substring(0, viewPath.length + 1) == viewPath + '/') {
-    var args = decodeURIComponent(path.substring(viewPath.length + 1, path.length));
+  var pattern = new RegExp("[^/]*" + viewPath + "/(.*)");
+  var pathmatch = pattern.exec(path);
+
+  if (pathmatch != null) {
+    var args = decodeURIComponent(pathmatch[1]);
     returnObj.view_args = args;
     returnObj.view_path = path;
   }
