Bug ID 705813: Portal Access: HTML page with commented '<META charset=...>' tag may be shown incorrectly

Last Modified: Sep 14, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4

Opened: Feb 07, 2018

Severity: 4-Minor

Symptoms

If HTML page includes '<META ... charset=...>' tag inside HTML comment, this tag must not be used as character set definition. But Portal Access ignores HTML comments in this case, and rewritten page may contain incorrect characters.

Impact

Via Portal Access, HTML page may contain incorrect characters.

Conditions

- HTML page contains commented wrong character set definition, for example: <!-- <meta http-equiv="Content-Type" content="text/html; charset=big5"> --> - Back-end server response with this page does not include character set definition in 'Content-type' header.

Workaround

Use iRule to add 'Content-type' response header with correct character set definition for affected HTML pages.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips