Forum Discussion

Mike_Maher's avatar
Mike_Maher
Icon for Nimbostratus rankNimbostratus
Oct 26, 2006

SED Script Content Processing

I am trying to do a Pre-Processing substitution with the SED scripting on the Firepass 6.0. Basically we have a page that has a line that reads Value=" " and when Firepass processes it, the page is being messed up. What we want to do is substitute in Value="". I have been messing with the SED Scripting and have tried something like this but it is not working. I am assuming I have some of the syntax perhaps I need to represent the space in a different way. Any suggestions would be helpful and I have done some looking on the web and have been unable to find what I am looking Please advise.

 

 

Thanks

 

 

s/Value=" "/Value=""/g

1 Reply

  • I think you may try using dot (.) instead of space for troubleshooting. Or try with shorter expression first like s/Value/VaLuE/ to see if the sed script match. For pre-processing, you can test your sed script from admin GUI. (scroll down to the bottom of the sed script setting page)

     

     

    tips

     

    - if it is javascript, may try with content type as text/javascript instead of application/x-javascript.

     

    - if you have multiple sed scripts, may move your sedscript up to the top.