Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Query Parameter getting removed from url

Avatar

Level 2

Hi Guys,

 

Could someone help me understand why the below form doesn't redirect with the query parameter "fulltext" to the action url.

It was found to work intermittently. The query parameter is stripped off during navigation


<form action="/content/AEMMaven18/en/searchresults.html" id="custom-search-form">
<div class="custom-search-field">
<input class="search-term" type="text" name="fulltext" >
<input type="submit" value="Submit">
</div>
</form>

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @binoyp ,

 

I have tried your code in my local and for me everytime query paramter is appended to the URL.

 

Are you getting any error when the parameter is not appended?

Did you try in different browsers?

Did you try in incognito mode?

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @binoyp ,

 

I have tried your code in my local and for me everytime query paramter is appended to the URL.

 

Are you getting any error when the parameter is not appended?

Did you try in different browsers?

Did you try in incognito mode?

Avatar

Employee

Are you request a URL with a query through an HTTPD+Dispacther?