Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • cubicweb cubicweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 202
    • Issues 202
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cubicweb
  • cubicwebcubicweb
  • Repository

Switch branch/tag
  • cubicweb
  • cubicweb
  • web
  • test
  • unittest_views_basecontrollers.py
Find file BlameHistoryPermalink
  • Laurent Peuch's avatar
    feat(security)!: protect against CSRF attacks using pyramid CookieCSRFStoragePolicy · 71b8609bd71e
    Laurent Peuch authored Jun 09, 2021
    This is very likely a breaking change and will force all code bases that
    haven't already do so to migrate to pyramid as web server.
    
    90% of the job has been porting and adapting a lot of tests code.
    
    See pyramid documentation as a reference:
    
    * https://docs.pylonsproject.org/projects/pyramid/en/2.0-branch/narr/security.html#preventing-cross-site-request-forgery-attacks
    * https://docs.pylonsproject.org/projects/pyramid/en/2.0-branch/narr/security.html#checking-csrf-tokens-automatically
    * https://docs.pylonsproject.org/projects/pyramid/en/latest/api/csrf.html#pyramid.csrf.CookieCSRFStoragePolicy
    71b8609bd71e

Replace unittest_views_basecontrollers.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.