Open iniyai opened 4 years ago
When a url's scheme is empty, "SCHEME_PORT_MAP.get(getScheme());" returns null. Comparing a null Integer with a primitive integer causes a null pointer exception. This pull requests attempts to solve this null pointer exception.
When a url's scheme is empty, "SCHEME_PORT_MAP.get(getScheme());" returns null. Comparing a null Integer with a primitive integer causes a null pointer exception. This pull requests attempts to solve this null pointer exception.