Jump to content
Welcome to our new Citrix community!

Response header name 'POSTLOGINFLAGS ' contains invalid characters


Kevin Lo1709160322

Recommended Posts

We have a NS11.1 build 47.14.nc

 

The issue we are having is NetScaler is not accessible behind a reverse proxy. The reverse proxy is throwing the error  

 

Response header name 'POSTLOGINFLAGS ' contains invalid characters, aborting request, referer: https://<NetScaler URL>/vpn/index.html

 

I have tried the suggesion found here https://www.citrix.com/content/dam/citrix/en_us/citrix-developer/documents/Netscaler/irules/remove-multiple-whitespaces.pdf

 

add rewrite action rw_act_header_remove DELETE_HTTP_HEADER Accept-Encoding
add rewrite policy rw_pol_enforce_Remove_Header HTTP.REQ.IS_VALID rw_act_header_remove
bind rewrite global rw_pol_enforce_Remove_Header 90 -type REQ_DEFAULT
 

add rewrite action rw_act_replace_space replace_all "HTTP.RES.BODY(HTTP.RES.CONTENT_LENGTH)" '" "' -search regex(re/\s+/)
add rewrite policy rw_pol_replace_space HTTP.RES.HEADER("ContentType").SET_TEXT_MODE(IGNORECASE).CONTAINS("text") rw_act_replace_space
bind rewrite global rw_pol_replace_space 90 -type RES_DEFAULT

 

But getting the same issue, any suggestion on how to resolve it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...