Skip to content
代码片段 群组 项目
  • David Fernandez's avatar
    3ed2efb3
    Validate regex before using `CleanupContainerRepositoryWorker` · 3ed2efb3
    David Fernandez 创作于
    Three guards have been added:
    1. The service used by the worker will not raise an error
    upon receiving an invalid regex but it will return an error
    response
    2. The expiration container policy will not schedule the
    next run for the given container expiration policy if it is
    valid. In addition, the given container expiration policy
    will be disabled
    3. Added a new UntrustedRegexp validator for Grape APIs.
    This one has been used in `API::ProjectContainerRepositories` to prevent
    enqueuing a job with invalid regex
    3ed2efb3
    历史
    Validate regex before using `CleanupContainerRepositoryWorker`
    David Fernandez 创作于
    Three guards have been added:
    1. The service used by the worker will not raise an error
    upon receiving an invalid regex but it will return an error
    response
    2. The expiration container policy will not schedule the
    next run for the given container expiration policy if it is
    valid. In addition, the given container expiration policy
    will be disabled
    3. Added a new UntrustedRegexp validator for Grape APIs.
    This one has been used in `API::ProjectContainerRepositories` to prevent
    enqueuing a job with invalid regex
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。