rem: url = Tcl_GetString(objv[1]); if (url[1] == '/') {
add: url = Tcl_GetString(objv[1]); if (url[0] == '/') {
context: NsTclGetUrlObjCmd(ClientData arg, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]){    NsInterp *itPtr = arg;    Ns_DString  ds;    Ns_Set     *headers;    int         status, code;    char       *url;    if ((objc != 3) && (objc != 2)) {        Tcl_WrongNumArgs(interp, 1, objv, "url ?headersSetIdVar?");        return TCL_ERROR;    }    code = TCL_ERROR;    if (objc == 2) {        headers = NULL;    } else {        headers = Ns_SetCreate(NULL);    }    Ns_DStringInit(&ds);	url = Tcl_GetString(objv[1]);    if (url[1] == '/') {	status = Ns_FetchPage(&ds, Tcl_GetString(objv[1]), itPtr->servPtr->server);    } else {        status = Ns_FetchURL(&ds, Tcl_GetString(objv[1]), headers);    }    if (status != NS_OK) {	Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "could not fetch: ", 		Tcl_GetString(objv[1]), NULL);	if (headers != NULL) {	    Ns_SetFree(headers);	}	goto done;    }    if (objc == 3) {        Ns_TclEnterSet(interp, headers, NS_TCL_SET_DYNAMIC);        if (Tcl_ObjSetVar2(interp, objv[2], NULL, Tcl_GetObjResult(interp),		TCL_LEAVE_ERR_MSG) == NULL) {	    goto done;	}    }    Tcl_SetResult(interp, ds.string, TCL_VOLATILE);    code = TCL_OK;done:    Ns_DStringFree(&ds);    return code;}