Bug ID 918717: Exception at rewritten Element.innerHTML='<a href></a>'

Last Modified: Sep 13, 2023

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

Known Affected Versions:
15.0.0, 15.0.1,,,,, 15.1.0,,,,,, 15.1.1, 15.1.2,, 15.1.3,, 15.1.4

Fixed In:

Opened: Jun 17, 2020

Severity: 4-Minor


If the "href" attribute of an anchor tag in a web application does not have any value, an exception will be thrown.


Web page does not load properly.


-- Rewrite enabled -- The href attribute of an anchor tag on a web page does not have a value, for example: <script> d = document.createElement('div') try { d.innerHTML = "<a href b=1>click</a>" }catch(e){ alert(e.message); } </script>


Find the "href" attributes of anchor tag and give some empty value to it: Before: <a href></a> After: <a href=""></a>

Fix Information

Fixed an issue with rewrite of anchors that contain an empty href attribute.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips