mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 20:55:10 +01:00
Reminder
This commit is contained in:
@@ -585,6 +585,7 @@ def bookmarks_page(userkey, filtermethod=None, sortmethod=None):
|
|||||||
@app.route('/r/<userkey>/<urlhash>')
|
@app.route('/r/<userkey>/<urlhash>')
|
||||||
def bookmark_redirect(userkey, urlhash):
|
def bookmark_redirect(userkey, urlhash):
|
||||||
""" Securely redirect a bookmark to its url, stripping referrer (if browser plays nice) """
|
""" Securely redirect a bookmark to its url, stripping referrer (if browser plays nice) """
|
||||||
|
# @TODO: add counter to this bookmark
|
||||||
try:
|
try:
|
||||||
bookmark = Bookmark.get(
|
bookmark = Bookmark.get(
|
||||||
Bookmark.url_hash == urlhash,
|
Bookmark.url_hash == urlhash,
|
||||||
|
|||||||
Reference in New Issue
Block a user