LukeberryPi/phived

question mark on end of url

Closed this issue · 1 comments

somewhere along the way, any action on the url "https://www.phived.com" concatenated a "/?" to the url, generating "https://www.phived.com/?".

i'm unsure if it impacts SEO, routing or some other functionality. honestly, it just kind of bugs me and i'd like to know where it comes from. i tried fixing it by adding <link rel="canonical" href="https://www.phived.com/" /> it didn't work.

i found this material: https://support.google.com/webmasters/thread/29068832/why-do-i-have-a-url-ending-with-a-question-mark-without-any-parameters?hl=en

please note that production is currently running 7ac7b70.

to debug this you will have to access 439ac3e locally.

probably because there isn't preventDefault on onSubmit at form tag

image

should resolve.

This behaviour probably started when "done" was from "span" to "button".