when not existing URL is requested on /url/* page, present post form
Issue #477
open
if the user enters on the /url/* page a URL which does not exist in the system, instead of showing an empty page, forward to the post_bookmark page.
PROBLEM: currently, when entering a URL on the /url/* page, this URL is hashed and a redirect sent to the browser such that the browser then asks for /url/HASH. Only after doing that we see, if the (URL)hash exists and if does not we don't know what the URL was (MD5 is a one-way hash function). Hence, we would need the redirect handler to query the DB ... this is currently not desirable.
Comments (4)
-
-
How about to have the original url as a parameter?
-
Currently the web app redirects to the home page
-
- changed status to open
- Log in to comment
but even if we didn't find the hash we can redirect to better error page or to the post form with some remark on it.