Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Reference component adding http

hptarora
Level 2
Level 2

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

5 Replies
BrianKasingli
Community Advisor
Community Advisor

@hptarora,

Is your this your own custom basic search component? 

hptarora
Level 2
Level 2

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
Community Advisor

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. 

hptarora
Level 2
Level 2
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.