Hi all..

I guess this would be mainly for the xwiki.com admins, but hopefully there is another way around this.
Primarily what I have is a document clone feature using $xwiki.copyDocument (created with some guidance from this mail group); this naturally works on my local xwiki install, but not on the xwiki.com hosted wiki.

Message received (I suspect this message comes from the document.location.href change in script, however when I try to access the document it appears to not be created):

_____________
Your request has been blocked. If you feel this is an error, please contact us at webmaster at xwiki dot com. Thanks.
_____________

Code used (added as a menu option with prebuilt querystring):
_____________
#set($sOldWeb=$request.cloneweb)
#set($sOldDoc=$request.clonedoc)
#set($sOldParent=$request.cloneparent)
#set($sDoClone=$request.doclone)
#set($sCloneEditType=$request.editaction)
#set($sCloneSetTitle=$request.settitle)
1.1 Clone a document.

This will copy a document and all it's related content into a new document.
#if("true" == $sDoClone)
        <form action="$doc.getURL("view")" id="newdoc">
            <input type="hidden" name="oldparent" value="${sOldParent}">
            <input type="hidden" name="oldwebname" value="${sOldWeb}" size="8">
            <input type="hidden" name="olddocname" value="${sOldDoc}" size="8">
            <input type="hidden" name="edittype" value="${sCloneEditType}" size="8">
            <input type="hidden" name="name" value=""/>
            New Document: <input type="text" name="title" value="" />
            <input type="button" value="Create" onclick='if (updateName(this.form.title,this.form.name)) {this.form.submit(); }'>

        </form>
#elseif($request.getParameter("oldwebname"))
        #set($sOldWeb=$request.getParameter("oldwebname"))
        #set($sOldDoc=$request.getParameter("olddocname"))
        #set($sNewDoc=$request.getParameter("name"))
        #set($sDocTitle=$request.getParameter("title"))
        #set($sCloneEditType=$request.getParameter("edittype"))
        #set($sourceDocName="${sOldWeb}.${sOldDoc}")
        #set($targetDocName="${sOldWeb}.${sNewDoc}")

        $xwiki.copyDocument($sourceDocName, $targetDocName)
        * *Clone Prepaired.*
        <script language="javascript">
        <!--
                document.location.href='../../save/${sOldWeb}/${sNewDoc}?xredirect=../../${sCloneEditType}/${sOldWeb}/${sNewDoc}?isclone=true%26title=${sDocTitle}'

        //-->
        </script>
#else
        * *No document information.  Please try again, from the "More Actions" menu while viewing the document you wish to Clone.*

#end
_____________