Actions
Bug #12483
closedFile.expand_path does not normalize cwd
    Bug #12483:
    File.expand_path does not normalize cwd
  
Description
https://github.com/rails/rails/issues/25303#issuecomment-224834804
I notice some other inconsistencies that may be related. Within a directory called "À"
Dir.pwdreturns a composed form, whileexpand_pathreturns a decomposed one:À $ ruby -e 'p Dir.pwd.bytes' [47, 85, 115, 101, 114, 115, 47, 102, 120, 110, 47, 116, 109, 112, 47, 195, 128] À $ ruby -e 'p File.expand_path(".").bytes' [47, 85, 115, 101, 114, 115, 47, 102, 120, 110, 47, 116, 109, 112, 47, 65, 204, 128]
        
           Updated by nobu (Nobuyoshi Nakada) over 9 years ago
          Updated by nobu (Nobuyoshi Nakada) over 9 years ago
          
          
        
        
      
      - Status changed from Open to Closed
        
           Updated by nagachika (Tomoyuki Chikanaga) about 9 years ago
          Updated by nagachika (Tomoyuki Chikanaga) about 9 years ago
          
          
        
        
      
      - Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE
ruby_2_3 r55909 merged revision(s) 55385,55390.
Actions