Closed (outdated)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
exposed filters
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2008 at 15:02 UTC
Updated:
14 Mar 2019 at 19:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedThis should now be fixed in -dev. Thanks for the report!
Comment #2
gionnibgud commentedThank YOU!
Cheers
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
gmclelland commentedHow did you setup an auto complete search? I have a similar situation where I need to be able to search by username or the User's Last Name (a cck text field) using an autocomplete search filter above the view.
Comment #5
bfr commentedI'm fighting with the same thing as #4.. i would need autocomplete or dropdown list for filtering from text field, but this seems to be impossible? For taxonomy terms they work ok.
Comment #6
vijaycs85This has caused major information leakage on sites that doesn't really want to expose their user base. (ref: http://www.behindthefirewalls.com/2013/04/stealing-drupal-users.html). Can we fix it?
Comment #7
pkunwar commentedwe can fix it either by using the module https://drupal.org/project/config_perms or by changing the code mentioned below in function views_ajax_autocomplete_user() in views module .
Current :- if ($last_string != '') {
Change :- if ($last_string != '' && user_access('access user profiles'))
Comment #8
bappa.sarkar commentedIn D7 views module's menu hook we have
We have access argument as 'access user profiles'. So for D7 perspective I don't think this is a security issue as it will only give you username if the current role has permission to view other user's profiles. see https://drupal.org/admin/views/ajax/autocomplete/user/bappa
But for D6 definitely we can add access argument 'access user profiles' by removing the existing 'access content'
Comment #9
abghosh82 commentedBoth solutions mentioned above is correct but I would prefer the later one mentioned by bapp.sarkar. In essence I think we need to do the way its done in D7 for D6, can this not be back ported?
Comment #10
vijaycs85The code base linkis not accessible, 7.x-3.x already has the fix (even current stable release 7.x-3.7 has) as specified in #8.
Comment #11
pkunwar commentedThis seems to be issue for version 6 . adding the patch for drupal 6.
Comment #12
pkunwar commentedComment #13
bappa.sarkar commentedThe patch is fine to me
Comment #14
chris matthews commentedThe Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue