Font tag added to Passthru html script unexpectedly

Technote (troubleshooting)


Problem

Font tag added to Passthru html script unexpectedly.

Symptom

You included following passthru script in application code:


    <SCRIPT>
    alert("test");
    </SCRIPT>
It should popup a messagebox in browser but you found it's not functioning.

Cause

The Script tag is processed as a normal text, so a prefix font tag and a suffix font tag was added.

Environment

Adding following notes.ini parameters to allow passthru script in iNotes:


      iNotes_WA_AllowPassThruHTML=1
      iNotes_WA_DisableActCntSecurity=1
Note: Restarting server is required.

Diagnosing the problem

In Domino 6.5.3 output includes:


    <script>
    alert("test");
    </script>

In Domino 8.5.3 output includes:

    <font size="2">
    <script>
    </font>
    alert("test");
    </script>
    </font>

which breaks the javascript function.

Resolving the problem

This issue was reported to Quality Engineering as SPR # ZKCO93EFLP and is scheduled to be fixed in Domino 9.0.1. Refer to the Upgrade Central site for details on upgrading Notes/Domino.


Please contact IBM Technical Support to request hotfix for this issue.


As workaround, application designer should mark <SCRIPT>alert("test");</SCRIPT> as inner HTML and it will be correctly rendered.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Domino
Web Server

Software version:

8.5, 8.5.1, 8.5.2, 8.5.3, 8.5.3.1, 8.5.3.2, 8.5.3.3, 8.5.3.4, 9.0

Operating system(s):

AIX, Linux, Windows

Reference #:

1645402

Modified date:

2013-08-01

Translate my page

Machine Translation

Content navigation