Bug ID 526512: Rewrite of href=url in <extension> tag of JNLP

Last Modified: Jul 03, 2019

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2, 12.1.2, 12.1.2 HF1, 12.1.2 HF2, 12.1.3, 12.1.3.1, 12.1.3.2, 12.1.3.3, 12.1.3.4, 12.1.3.5, 12.1.3.6, 12.1.3.7, 12.1.4, 12.1.4.1, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.4, 14.1.0.5, 14.1.0.6, 15.0.0

Opened: Jun 04, 2015
Severity: 3-Major

Symptoms

HREF url in <extension> tag of JNLP is not rewritten with f5-w-hexencoded_backend_host, so URL content cannot be accessible by JRE.

Impact

Java applets may not work.

Conditions

Backend JNLP with href=url in <extension> tag.

Workaround

There is a common approach to patch not rewritten HREF using the iRule. Here is an example: when HTTP_REQUEST { if { [HTTP::uri] ends_with "end_of_interesting_url" } { set match 1 } } when REWRITE_REQUEST_DONE { if { [info exists match] } { REWRITE::post_process 1 } } when REWRITE_RESPONSE_DONE { if { [info exists match] } { unset match set sid [ACCESS::session sid] set from {org_url} set to {https://APM+VS/f5-w-hexencoded_backend_host/org_url_path} set pos [string first $from [REWRITE::payload]] if { $pos > 0 } { log local0. "Patching unpatched uri to $to" set len [string length $from] REWRITE::payload replace $pos $len $to } } }

Fix Information

None

Behavior Change