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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Reference component adding http


Level 3


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.




5 Replies


Community Advisor


Is your this your own custom basic search component? 


Level 3

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


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. 


Level 3
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.