lib/sidekiq/web/router.rb in sidekiq-6.0.7 vs lib/sidekiq/web/router.rb in sidekiq-6.1.0
- old
+ new
@@ -64,10 +64,10 @@
end
class WebRoute
attr_accessor :request_method, :pattern, :block, :name
- NAMED_SEGMENTS_PATTERN = /\/([^\/]*):([^\.:$\/]+)/
+ NAMED_SEGMENTS_PATTERN = /\/([^\/]*):([^.:$\/]+)/
def initialize(request_method, pattern, block)
@request_method = request_method
@pattern = pattern
@block = block