-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error after deleting a link from it's own page #87
Comments
The code to be altered is around line 1551 in
|
The easiest (and most logical) fix would be redirecting to / once the link has been deleted. However, the current case handles passing around a redirect url to a ?do= page. Aside from being almost never used (Deleting a link from another page on another website ?), HTTP_REFERER is set differently on each browser and is almost always set to the previous page. |
I think it is OK to just redirect to Shaarli's home page. |
I've created pull request #90 that redirects to ? (the default when |
Fixed in #90 |
@e2jk I frequently hit this bug:
It's very annoying when you are trying to cleanup links with a certain tag. I think if either I'll aopen another issue for this. |
How to reproduce:
Suggested fix:
If the url to be returned to is going to be a permalink, redirect instead to the home page.
The text was updated successfully, but these errors were encountered: