Modifying %url% in engine .ini
cherub
SERnuke.com
I'm working on an engine that accepts a url, but need the http:// portion removing, otherwise it publishes it as http://http://link.com. I'm trying out this code at the moment:
[doctored_url]
type=extract
default=%url%
replace=http://;
...but it doesn't seem to be working as expected. Can anyone shed any light on the proper way to modify an input?
[doctored_url]
type=extract
default=%url%
replace=http://;
...but it doesn't seem to be working as expected. Can anyone shed any light on the proper way to modify an input?
Comments
should work ... but you should write..."remove=http://;https://" instead of "replace=" as you are removing something and not replacing.