From ed6b4edc82b0f65c77980713cd525053fcbc1dd2 Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Fri, 02 May 2014 15:14:18 +0000 Subject: Fixed issues reported by cure53.de Fixed issues CLP-01-014 and CLP-01-015 --- (limited to 'frontend/beta/js/Clipperz/PM/BookmarkletProcessor.js') diff --git a/frontend/beta/js/Clipperz/PM/BookmarkletProcessor.js b/frontend/beta/js/Clipperz/PM/BookmarkletProcessor.js index 2295d3f..369b9ce 100644 --- a/frontend/beta/js/Clipperz/PM/BookmarkletProcessor.js +++ b/frontend/beta/js/Clipperz/PM/BookmarkletProcessor.js @@ -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'); } -- cgit v0.9.0.2