Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • W website
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 85
    • Issues 85
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Video AG InfrastrukturVideo AG Infrastruktur
  • website
  • Merge requests
  • !41

Get url path before unquote + change Thumbnail check

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Magnus Giesbert requested to merge magnus/website:authbypassurlfix into master Sep 15, 2021
  • Overview 13
  • Commits 4
  • Pipelines 0
  • Changes 1

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/').

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: authbypassurlfix