Return-Path: Delivered-To: apmail-incubator-wookie-dev-archive@minotaur.apache.org Received: (qmail 99986 invoked from network); 17 Nov 2009 23:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 23:33:07 -0000 Received: (qmail 36768 invoked by uid 500); 17 Nov 2009 23:33:07 -0000 Delivered-To: apmail-incubator-wookie-dev-archive@incubator.apache.org Received: (qmail 36729 invoked by uid 500); 17 Nov 2009 23:33:07 -0000 Mailing-List: contact wookie-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wookie-dev@incubator.apache.org Delivered-To: mailing list wookie-dev@incubator.apache.org Received: (qmail 36719 invoked by uid 99); 17 Nov 2009 23:33:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 23:33:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 23:33:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 90409234C052 for ; Tue, 17 Nov 2009 15:32:39 -0800 (PST) Message-ID: <1696396823.1258500759575.JavaMail.jira@brutus> Date: Tue, 17 Nov 2009 23:32:39 +0000 (UTC) From: "Scott Wilson (JIRA)" To: wookie-dev@incubator.apache.org Subject: [jira] Created: (WOOKIE-64) Wookie rewrites HTML start file incorrectly when injecting JavaScript: incorrectly encodes inline scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Wookie rewrites HTML start file incorrectly when injecting JavaScript: incorrectly encodes inline scripts --------------------------------------------------------------------------------------------------------- Key: WOOKIE-64 URL: https://issues.apache.org/jira/browse/WOOKIE-64 Project: Wookie Issue Type: Bug Components: Server Reporter: Scott Wilson Fix For: 0.8.1 When a widget package is uploaded into Wookie, the start file is injected with Wookie javascripts using HTMLCleaner. However, where a widget start file already includes inline JavaScript, the output is entity encoded; e.g.: if( window.widget.preferences["test1"] == "pass1" && Becomes: if( window.widget.preferences["test1"] == "pass1" && This breaks a lot of scripts. To test, use any of the test widgets at: http://dev.w3.org/2006/waf/widgets-api/test-suite/ This is probably best tackled in conjunction with WOOKIE-42 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.