Skip to content

Commit af61a91

Browse files
committed
Fix Rubocop offense for Style/RegexpLiteral
1 parent fa0b800 commit af61a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/openid_connect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def end_session_endpoint_is_valid?
434434
end
435435

436436
def logout_path_pattern
437-
@logout_path_pattern ||= %r{\A#{Regexp.quote(request_path)}#{options.logout_path}}
437+
@logout_path_pattern ||= /\A#{Regexp.quote(request_path)}#{options.logout_path}/
438438
end
439439

440440
def id_token_callback_phase

0 commit comments

Comments
 (0)