Read about our upcoming Code of Conduct on this issue

Commit 32e9e24a authored by Sean McGivern's avatar Sean McGivern
Browse files

Merge branch 'wildcard-routes-in-etag-middleware' into 'master'

Use NamespaceValidator::WILDCARD_ROUTES in ETag caching middleware

See merge request !10478
module Gitlab
module EtagCaching
class Middleware
RESERVED_WORDS = { |word| "/#{word}/" }.join('|')
RESERVED_WORDS = { |word| "/#{word}/" }.join('|')
ROUTE_REGEXP = Regexp.union(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment