Query Parameter getting removed from url | Community
Skip to main content
Level 2
July 20, 2020
Solved

Query Parameter getting removed from url

  • July 20, 2020
  • 2 replies
  • 1673 views

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>

 

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

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?

2 replies

ChitraMadan
Community Advisor
ChitraMadanCommunity AdvisorAccepted solution
Community Advisor
July 20, 2020

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?

Adobe Employee
July 21, 2020

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