Forum Discussion
patrick_potter1
Mar 30, 2012Nimbostratus
iRule with HTML content - The braced list of attributes is not closed for 'rule'
I'm migrating from a single LTM to a HA LTM pair and when trying to load the config, I get the following error:
BIGpipe parsing error (/config/bigip.conf Line 847):
012e0054:3: The braced lis...
hooleylist
Mar 30, 2012Cirrostratus
Which version are you testing on? There have been some iRule parsing issues fixed in recent versions.
In the meantime, can you try to encode the HTML content so the iRule parser doesn't get hung up?
URL encode the HTML content: http://www.opinionatedgeek.com/dotnet/tools/urlencode/Encode.aspx
save the URL encoded content to a static variable (for 10.0 or higher) or a local variable:
set static::html [URI::decode "%3chtml%3e%3cstyle%20type%3d%22text%2fcss%22%3e...%3c%2fhtml%3e"]
and then modify the HTTP::respond command to reference the URI decoded HTML:
HTTP::respond 200 content $static::html
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects