Forum Discussion
Grzegorz_Skrzyp
May 07, 2014Nimbostratus
Unescaped " escape with backslash issue
Hello,
I have HTTP monitor with my own HTML string inside. tmsh config below:
ltm monitor http /Common/MONITOR_SOAP_disc {
defaults-from /Common/http
destination *:*
interval 5
ip-...
uni_87886
Cirrostratus
I don't see what it is complaining about. Is this a redacted version, as I notice your content-length is wrong?
What happens if you save the config to an scf and then verify it?
save sys config file /var/tmp/test.scf
load sys config verify file /var/tmp/test.scf
Grzegorz_Skrzyp
May 08, 2014Nimbostratus
Hello, the content-lengt is right in the config (not all was pasted into question). Below please find the verification output:
~~~
root@(rzt-f5-aaa1-ref)(cfg-sync Standalone)(Active)(/Common)(tmos) load sys config verify file /var/local/scf/test.scf
Validating system configuration...
/defaults/asm_base.conf
/defaults/config_base.conf
/defaults/low_profile_base.conf
/defaults/policy_base.conf
/defaults/wam_base.conf
/defaults/analytics_base.conf
/defaults/apm_saml_base.conf
/defaults/app_template_base.conf
/defaults/classification_base.conf
/defaults/daemon.conf
/defaults/fullarmor_gpo_base.conf
/defaults/profile_base.conf
/defaults/sandbox_base.conf
/defaults/security_base.conf
/defaults/urldb_base.conf
/usr/share/monitors/base_monitors.conf
/usr/local/gtm/include/gtm_base_region_isp.conf
/usr/share/monitors/gtm_base_monitors.conf
Validating configuration...
/var/local/scf/test.scf
There were warnings:
/Common/RADIUS_CallingStationID_OddEven:42: warning: [use curly braces to avoid double substitution][$callingId]
01070642:3: Monitor /Common/MONITOR_SOAP_disc parameter contains d " escape with backslash.
Unexpected Error: Validating configuration process failed.
~~~
below is full sned string direclty from config file:
~~~
send "POST /axis2/services/PolicyNotifyService HTTP/1.0\r\nContent-Type:text/xml\r\nConten
t-Length:366\r\n\r\n220000000000000"
~~~
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