Skip to content

Commit

Permalink
Merge 47573bb into 4ce66dc
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Mar 10, 2014
2 parents 4ce66dc + 47573bb commit fce3cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/mola/galimatias/URLParser.java
Expand Up @@ -377,7 +377,7 @@ else if (c == '#') {
host = (base == null)? null : base.host();
port = (base == null || base.port() == base.defaultPort())? -1 : base.port();
pathSegments = (base == null)? null : base.pathSegments();
query = (base == null)? null : new StringBuilder(base.query());
query = (base == null || base.query() == null)? null : new StringBuilder(base.query());
fragment = new StringBuilder();
state = ParseURLState.FRAGMENT;
} else {
Expand Down

0 comments on commit fce3cd1

Please sign in to comment.