Skip to content
Snippets Groups Projects
Commit a64597ad authored by Cornelius Amzar's avatar Cornelius Amzar Committed by Robert Lange
Browse files

Secured UrlShortener against tampering by using hashes instead of ids (#1549)

- Note that the database upgrade tool must be run after loading this commit to ensure that the shortlinks table's hash column is correctly populated.

(cherry picked from commit 7732da3c)
parent 8452ab6f
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
; https://thirdiron.atlassian.net/wiki/spaces/BrowZineAPIDocs/overview ; https://thirdiron.atlassian.net/wiki/spaces/BrowZineAPIDocs/overview
[General] [General]
; BrowZine-issued access token for API ; BrowZine-issued access token for API
access_token = "Passwordxx-xxxx-xxxx-xxxx-PasswordPassword" access_token = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
; The ID number of your library (found in your BrowZine public access URL) ; The ID number of your library (found in your BrowZine public access URL)
library_id = "yyy" library_id = "yyy"
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment