Forum Discussion
Andrew_Bretten_
Nimbostratus
Oct 29, 2006payload replace fails against content from .jsp ?
I have the following iRule appled to a virtual server
when HTTP_RESPONSE_DATA {
set find "http://"
set replace "https://"
set payload [HTTP::payload]
if {[regsub ...
Andrew_Bretten_
Nimbostratus
Oct 30, 2006Ok I've made more progress.....regsub seems to be operating against only a certain amount of data.
If I put a link closer to the start of the HTTP payload....it gets rewritten.
Consider the following http code....the iRule fails to rewrite the link....take out a few of the comment lines...the iRule succeeds in rewriting the link.
Andy
test
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