mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] mldonkey submitRenameForm bug


From: Olive
Subject: [Mldonkey-bugs] mldonkey submitRenameForm bug
Date: Tue, 07 Dec 2004 12:09:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5


function submitRenameForm(i) {
var formID = document.getElementById("renameForm" + i)
var regExp = new RegExp (' ', 'gi') ;
var renameTextOut = formID.newName.value.replace(regExp, '+');
parent.fstatus.location.href='submit?q=rename+'+i+'+"'+renameTextOut+'"';
}

if the new name contains e.g. '&', the resulting url is not valid. The text should be escaped on the client side http://www.devguru.com/Technologies/ecmascript/quickref/escape.html
but I don't know how it is handeled by the server.

Other matter (check): looks like ReShare does not check _new_ files e.g. copied manually ?

Otherwize, super soft. The only p2p client that is a daemon.
Excellente idée. Very nice web interface.

A+O [not on the list]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]