#2144 Uri.fromStr and HTTPS

SlimerDude Sun 19 May 2013

The docs for sys::Uri.fromStr say (and evident from looking at Sections::normalizeHttp in Uri.java):

  • If http then port 80 normalizes to null
  • If http then a null path normalizes to /

Is there any reason why the same principles don't apply to the https counterpart? That is:

  • If https then port 443 normalizes to null
  • If https then a null path normalizes to /

I ask because OpenAuth dictate this behaviour in section 9.1.2. Construct Request URL. As far as fantom is concerned, it just feels like https was forgotten or left out. Poor https!

brian Mon 20 May 2013

Good point - I pushed a changed for both https and ftp

changeset

SlimerDude Mon 20 May 2013

So https was forgetten about! And ftp too! Arrr, bless them!

Login or Signup to reply.