muler icon indicating copy to clipboard operation
muler copied to clipboard

404 Not Found, when clicking drug suggestions

Open calvinmorett opened this issue 2 years ago • 0 comments

1. Summary

  • When you search for a drug, and see suggestions as "Did you mean: Example Drug Link, Example 2 Link, Example 3 Link"

  • If you click any of these suggested links, you will get a page that display a "404 Not Found" error - referencing issues with the URL.

  • This is due to the URL redirection being ...muler.com/example and not prefixed with /search/.. in the path, such as ...muler.com/search/example

2. Steps to reproduce

  1. Drug search pond or go to URL, https://muler.pythonanywhere.com/search/pond
  2. You will arrive to the page with the top suggesting, Showing results for 'Ponds' image
  3. Click any suggestion, such as Siponimod
  4. Which will redirect you

3. Expected Result Expected the link to direct me to the drug page for Siponimod.

4. Actual Result Redirects me to a "404 Not Found" page, with the URL path, https://muler.pythonanywhere.com/Siponimod

calvinmorett avatar Dec 01 '22 02:12 calvinmorett