xp-framework / xp-framework

XP 5.X - superseded by https://github.com/xp-framework/core
33 stars 24 forks source link

Change URL::toString() #359

Closed thekid closed 10 years ago

thekid commented 10 years ago

Summary of changes

Before

$ xp -w 'uses("peer.URL"); new URL("http://user:pass@localhost");'
peer.URL@ {
  [scheme]      http
  [host]        localhost
  [port]        0
  [user]        user
  [password]    pass
  [path]
  [query]
  [fragment]
}

After

$ xp -w 'uses("peer.URL"); new URL("http://user:pass@localhost");'
http://user:********@localhost
thekid commented 10 years ago

If accepted will be merged to XP:five: and XP:six:

kiesel commented 10 years ago

:+1: