Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Sep 03, 2019
  3. Sep 02, 2019
  4. Sep 01, 2019
  5. Aug 30, 2019
  6. Aug 29, 2019
  7. Aug 28, 2019
  8. Aug 23, 2019
  9. Aug 22, 2019
  10. Aug 21, 2019
  11. Aug 20, 2019
  12. Aug 19, 2019
  13. Aug 18, 2019
  14. Aug 17, 2019
  15. Aug 16, 2019
  16. Aug 15, 2019
  17. Aug 14, 2019
  18. Aug 13, 2019
    • Julius Härtl's avatar
    • Roeland Jago Douma's avatar
      Get the proper UID · 145eee91
      Roeland Jago Douma authored
      
      Some user backends (like the database backend) allow us to obtain a user
      case insensitive. However the UID itself is case sensitive.
      
      Example:
      * create a user User1
      * login as User1
        - This results the data/User1 folder to be created etc
      * now have some code somewhere that obtains the userFolder (from
      IRootFolder) but pas in 'uSER1' as uid
        - The code will check if that is a valid user. And in this case it is
        since User1 and uSER1 both map to the same user
        - However the the UID in the user object is used for the folder a new
        folder fill be create data/uSER1
      
      With this PR this is avoided now. Since we obtain the real UID casing in
      the backend before creating the user object.
      
      Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
      145eee91
  19. Aug 11, 2019
Loading