ChrisRaynerSG / AutomatedWebTestingProject

A project to look at the functionality of https://automationexercise.com/ derive user stories, and create test cases for those users stories.
0 stars 2 forks source link

search with a question mark does not correctly url encode the question mark character #39

Open l-hepper opened 2 months ago

l-hepper commented 2 months ago

Defect Report: Search with a Question Mark Does Not Correctly URL Encode the Question Mark Character Date: 02/09/2024 Tester: Liam Hepper Assigned To: Severity: Medium Priority: Medium Status: Unresolved Summary: When a search query contains a question mark (?), the system does not correctly URL-encode the character, resulting in the search query being truncated or interpreted incorrectly by the server.

Expected Result: The question mark (?) should be URL-encoded as %3F to ensure the entire query is correctly interpreted as a search parameter.

Actual Result: The search query containing a question mark (?) is not URL-encoded, causing the search functionality to fail or return incorrect results.

Defect Description:

Go to the search bar on the website (e.g., https://automationexercise.com/products). Enter a search query that includes a question mark, such as "tops?" Submit the search. Observe that the search query is either truncated or misinterpreted due to the unencoded question mark (?).

This defect affects user experience by preventing searches with question marks from working as expected.