Changeset 415b51b for apps/ministreaming


Ignore:
Timestamp:
Nov 28, 2015 12:54:41 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7b83e23
Parents:
a03339b
Message:

i2psnark: Fix NPE caused by URL-to-URI conversion in -2 (ticket #1715)
Fix some other similar places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java

    ra03339b r415b51b  
    117117            if ("http".equals(url.getScheme())) {
    118118                String host = url.getHost();
     119                if (host == null)
     120                    throw new MalformedURLException("no hostname: " + _actualURL);
    119121                int port = url.getPort();
    120122                if (port <= 0 || port > 65535)
Note: See TracChangeset for help on using the changeset viewer.