Skip to content

Commit 4e235be

Browse files
committed
Ensure a trailing slash for base_uri
Technically, the GET parameters should be in vars_get, but we don't want to refactor the entire module right now.
1 parent 17c12a7 commit 4e235be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/drupal_views_user_enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module of Drupal, brute-forcing the first 10 usernames from 'a' to 'z'
4040
end
4141

4242
def base_uri
43-
@base_uri ||= "#{normalize_uri(target_uri.path)}?q=admin/views/ajax/autocomplete/user/"
43+
@base_uri ||= normalize_uri("#{target_uri.path}/?q=admin/views/ajax/autocomplete/user/")
4444
end
4545

4646
def check_host(ip)

0 commit comments

Comments
 (0)