Skip to main content
Level 3
January 14, 2021
Question

Reference component adding http

  • January 14, 2021
  • 3 replies
  • 1564 views

Hi,

I have a basic search component which is used on a page and I am using reference component on another page to refer to the basic search.

 

The problem is, basic search component has pathbrowser form element for action url. Now when basic search component displaying through reference component, its adding 'HTTP' to action url of search form whereas it should add 'HTTPS'.

 

Please help me to fix this issue.

 

Thanks

Harpreet

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 14, 2021

@hptarora,

Is your this your own custom basic search component? 

hptaroraAuthor
Level 3
January 14, 2021
Yes, basic search is custom component
hptaroraAuthor
Level 3
January 14, 2021

Sorry, I think I clicked somthing and it took away the question from one of the developer. Yes, basic search is a custom component.

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 14, 2021

Making sure that your using a relative path, for example "/bin/my-custom-servlet", your website should be either requesting https or http, depending on the Protocol off where the website is serving the page. 

hptaroraAuthor
Level 3
January 31, 2021
Yes, I am using relative path in search component. It picks HTTPS when I use search component on a page but it picks HTTP when refer to search component via reference component.