Ticket #1412 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

ContentPane scriptScope regex replacement fails

Reported by: mumme Owned by: mumme
Priority: normal Milestone:
Component: General Version: 0.3
Severity: normal Keywords:
Cc:

Description

How to reproduce

html content:

<script>
  this.message = function(){
      alert("hello");
  }
</script>
<div onclick="scriptScope.message()">Not working</div>
<div onclick=" scriptScope.message()">working due to space before keyword</div>
<div id="cl" onclick="scriptScope.message()">working due to attribute before</div>

Change History

Changed 2 years ago by mumme

fixed in r5896

Changed 2 years ago by mumme

  • status changed from new to closed
  • resolution set to fixed

Changed 18 months ago by anonymous

  • milestone deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.