Bug ID 674297: Custom headers are removed on cross-origin requests

Last Modified: Sep 27, 2019

Bug Tracker

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

Known Affected Versions:
13.1.0,,,,,,,,, 13.1.1,,,,,, 13.1.3, 14.0.0,,,,,, 14.0.1, 14.1.0,,,,,,, 14.1.2,, 15.0.0, 15.0.1

Opened: Jul 17, 2017
Severity: 3-Major


Custom headers are removed on cross-origin requests.


The request will be blocked, FPS functionality breaks.


A cross domain FPS request uses the FPS custom header. For example: AJAX encryption from one domain to another.


For HOST <HOST NAME> and FPS custom header <HEADER NAME>, a variant of the following iRule can be used: when HTTP_REQUEST { if {[HTTP::method] equals "OPTIONS" && [HTTP::host] equals "<HOST NAME>"} { set modify_allowed_headers 1 } } when HTTP_RESPONSE { if { [info exists modify_allowed_headers] && $modify_allowed_headers equals "1"} { if { [HTTP::header exists "Access-Control-Allow-Headers"] } { set hdr [HTTP::header value "Access-Control-Allow-Headers"] append hdr ", <HEADER NAME>" HTTP::header replace Access-Control-Allow-Headers $hdr } } }

Fix Information


Behavior Change