Index: /trunk/src/VBox/Runtime/common/rest/RTCRestClientRequestBase.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/rest/RTCRestClientRequestBase.cpp	(revision 74727)
+++ /trunk/src/VBox/Runtime/common/rest/RTCRestClientRequestBase.cpp	(revision 74728)
@@ -94,5 +94,4 @@
 
     /* Replace with actual values: */
-    RTCString strTmpVal;
     for (size_t i = 0; i < a_cPathParams; i++)
     {
@@ -107,5 +106,10 @@
                         VERR_REST_PATH_PARAMETER_NOT_SET);
 
-        rc = a_paPathParamStates[i].pObj->toString(&strTmpVal, a_paPathParams[i].fFlags);
+        RTCString strPathParam;
+        rc = a_paPathParamStates[i].pObj->toString(&strPathParam, a_paPathParams[i].fFlags);
+        AssertRCReturn(rc, rc);
+
+        RTCString strTmpVal;
+        rc = strTmpVal.printfNoThrow("%RMpa", strPathParam.c_str()); /* urlencode */
         AssertRCReturn(rc, rc);
 
