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
May 08, 2014Cirrostratus
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_SkrzypMay 08, 2014NimbostratusHello, 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" ~~~
- uni_87886May 08, 2014CirrostratusI tried it in 11.4.1 and it was fine. Time to log a case I think
- Grzegorz_SkrzypMay 13, 2014NimbostratusSorry for late answer ... but YES, you are absolutely right, this was working just before the SSL patch :( I did patch - upgrade - and after this - my box went into "config not loaded" state ... Just to inform all - a quick work around was applied - I changed all escaped double's with not-escaped single's - this is working fine, as long as my server will accept this as a HTML request ... I also noticed - that after the patch - the WEB GUI now "translates" all notation into real: New Line and Carridge Return ... is this also correct? in the config now I see "windows like" notation with ^M maker at the and of each line in string ...
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