Skip to content

Commit

Permalink
fixed GH pocoproject#1304: URI doesn't know ws:/ or wss:// schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Jul 3, 2016
1 parent 65ef15d commit c337634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/src/URI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,13 +699,13 @@ unsigned short URI::getWellKnownPort() const
return 22;
else if (_scheme == "telnet")
return 23;
else if (_scheme == "http")
else if (_scheme == "http" || _scheme == "ws")
return 80;
else if (_scheme == "nntp")
return 119;
else if (_scheme == "ldap")
return 389;
else if (_scheme == "https")
else if (_scheme == "https" || _scheme == "wss")
return 443;
else if (_scheme == "rtsp")
return 554;
Expand Down

0 comments on commit c337634

Please sign in to comment.