HUE-2835 [core] Fixed issue with DN's that have weird comma location

Review Request #5447 - Created June 29, 2015 and submitted

Chris Conner
hue
HUE-1071
HUE-2835
hue
enricoberti, erickt, romain
commit 12bd98fdd20e0dcb10f59ee8730318eccebf70fa
Author: Chris Conner <cconner@cloudera.com>
Date:   Mon Jun 29 14:33:44 2015 -0400

    HUE-2835 [core] Fixed issue with DN's that have weird comma location

:100644 100644 0f2d921... a356c04... M	apps/useradmin/src/useradmin/views.py


  1. 
      
  2. apps/useradmin/src/useradmin/views.py (Diff revision 1)
     
     

    is this some special use case ?

    1. Yes, it's because of the need to include ldap_info['dn'] in the group search filter. And if we don't do that sanitation, then Hue creates an invalid search filter, must like HUE-1428.

  3. 
      
  1. yes, there is already a bunch of those in ldap_access.py

  2. 
      
Review request changed

Status: Closed (submitted)

Loading...