mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-12-17 03:47:04 +01:00
Fixed issues reported by cure53.de
Fixed issues CLP-01-014 and CLP-01-015
This commit is contained in:
@@ -138,7 +138,7 @@ Clipperz.PM.BookmarkletProcessor.prototype = MochiKit.Base.update(null, {
|
||||
if (this._hostname == null) {
|
||||
var actionUrl;
|
||||
|
||||
actionUrl = this.configuration()['form']['attributes']['action'];
|
||||
actionUrl = Clipperz.Base.sanitizeUrl(this.configuration()['form']['attributes']['action']);
|
||||
//MochiKit.Logging.logDebug("+++ actionUrl: " + actionUrl);
|
||||
this._hostname = actionUrl.replace(/^https?:\/\/([^\/]*)\/.*/, '$1');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user