Actions
Bug #15276
closedURI.join behaviour is unintuitive
    Bug #15276:
    URI.join behaviour is unintuitive
  
Description
Hello,
I've been bitten by issue #10075, I actually expected a different behaviour from ::join. It doesn't IMHO resepect the "principle of least suprise".
I agree with avdi who suggests to deprecate ::join and replace it with a more intuitive name, while adding another method that performs path concatenation (which I think it is a more common scenario).
Please consider this,
Thank you!
        
           Updated by shevegen (Robert A. Heiler) almost 7 years ago
          Updated by shevegen (Robert A. Heiler) almost 7 years ago
          
          
        
        
      
      What name would you suggest? Avdi mentioned the name #merge_path - is this the name
that you suggest? (I ask specifically because finding a good name is not always
easy. And in the proposal no specific name was mentioned as such.)
        
           Updated by mame (Yusuke Endoh) almost 7 years ago
          Updated by mame (Yusuke Endoh) almost 7 years ago
          
          
        
        
      
      - Related to Bug #6057: URI - Nonsensical Behavior added
        
           Updated by jeremyevans0 (Jeremy Evans) about 5 years ago
          Updated by jeremyevans0 (Jeremy Evans) about 5 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Actions