This discussion is archived
1 Reply Latest reply: Jan 31, 2013 1:07 AM by Rajeev_R RSS

ProtocolChange droplet limitations and work around

Cdesai Newbie
Currently Being Moderated
I am trying to convert some url from secure to non secure protocol [https to http] - I am aware that protocolchange can help do that but, the architecture for our site is such that those urls are being controlled from BCC - [static content]. I wonder what are other possible options to get this working ? Absolute url is a no no.


ATG v 9.1
  • 1. Re: ProtocolChange droplet limitations and work around
    Rajeev_R Journeyer
    Currently Being Moderated
    ProtocolChange Droplet doesnt do any magics to convert the URLs, what it does that it will return you an absolute URL including protocol based on the flag you have set, i.e. which flag you set as true, secureUrl or nonSecureUrl.

    For example, if your URL is given as www.google.com and secureUrl is set as true it will return a URL that reads https://www.google.com.

    This droplet is useful only if you want to provide absolute URLs with protocol for example to avoid mixed content etc.

    I think it will work in case if you give a relative URL as well, the output would be an absolute URL with the context included, not sure though.

    Cheers
    R

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points