Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
E
extensions.typo3.org
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • services
    • T
      t3o sites
  • extensions.typo3.org
  • extensions.typo3.org
  • Issues
  • #494

Closed
Open
Opened Nov 27, 2020 by Oliver Bartsch@obartschMaintainer

Soften extension key pattern in TokenCreationValidator

Currently the validator uses the strict patter /^((?!(tx|user|pages|tt|sys|ts_language|csh))[a-z]{1}[a-z0-9_]+)$/ which is used for creating new extension keys. However, since there are already extensions (like tt_address) which do not follow this pattern, this must be replaced with a less strict one (something like /^[a-z][a-z0-9_]{2,29}$/). Otherwise access tokens can not be restricted to such extension keys.

As a side task, the pattern used in the OpenAPI specification for the key parameter should also be changed to this pattern since it currently contains a meaningless quantifier.

Edited Nov 27, 2020 by Oliver Bartsch
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: services/t3o-sites/extensions.typo3.org/ter#494