Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
profile.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2007 at 19:15 UTC
Updated:
12 Jul 2007 at 00:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
dvdweide commentedI heard i shouldn't put my own patches on 'ready to commit'.
Danny
Comment #2
ChrisKennedy commentedYou have a typo in your comment and it isn't a cvs patch per http://drupal.org/patch
Comment #3
tostinni commentedA more simple version of this patch
Comment #4
dvdweide commentedHi Tostinni,
Your patch makes hidden fields browsable by users with 'administer users' permission.
But hidden fields are not browsable because they are stored in the 'users' table and not in the 'profile_values' table like all the other profile values.
This means that hidden fields cannot be browsable, and thus my patch is correct!
Furthermore, i think that the priority should remain 'critical' because of possible stale values that are still in the 'profile_values' table when a profile field has been changed to 'hidden' in a later stadium. This is a potential security problem.
I don't know if i have to resubmit my patch to override yours, but first i'll wait for your reaction/opinion.
Cheers, Danny
Comment #5
tostinni commentedHum where did you get that ?
I try to save some hidden fields and they all went to
profile_valuestable, can you describe this a little more ?Comment #6
dvdweide commentedPlease excuse my ignorance, Tostinni!
It seems that this code has changed somewhere between 4.7 an 5.x, and i didn't notice.....
So, your patch is for the HEAD/5.x branches, while mine is for 4.7. Great!
I've looked at yours, and although i didn't try it out, my eyes are sure it will work just fine.
Il still don't agree on the priority change, though.
This is a critical issue, because anyone can browse hidden profile fields, and it's even worse on 5.x than on 4.7, since hidden fields have become actually browsable.
So, i feel i have to change is back again. Sorry! ;-)
Cheers, Danny
Comment #7
drummComment #8
drummCommitted to 5.x.
Needs to go in 6.x.
Comment #9
stevenpatzA patch for 6.x-dev
Comment #10
gábor hojtsyAlso committed to Drupal 6.
Comment #11
(not verified) commented