Skip to content
Snippets Groups Projects

Get url path before unquote + change Thumbnail check

Merged Magnus Giesbert requested to merge magnus/website:authbypassurlfix into master
All threads resolved!

Get the url path before using unquote, circumventing problems with encoded special characters like '?'.
Get rid of the paths leading '/' so that the following if statements still work (this also gets rid of .lstrip(config['VIDEOPREFIX'])).
Change the auth check for thumbnails, from checking the ending('.jpg') to checking the beginning ('thumbnails/').

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading