diff --git a/modules/javascript.cpp b/modules/javascript.cpp index fb1237b3..1dfcf4de 100644 --- a/modules/javascript.cpp +++ b/modules/javascript.cpp @@ -343,7 +343,7 @@ public: params().addParam(new ExpFunction("getCanonical")); } inline JsURI(const char* str, Mutex* mtx) - : JsObject(mtx,"[object URI]",false), + : JsObject(mtx,str,false), m_uri(str) { XDebug(DebugAll,"JsURI::JsURI('%s') [%p]",str,this);