Disable SNI extensions for client SSL connections
| | |
| | | fixes:
|
| | | - Could not reset settings with $ or { characters through Gitblit Manager because they are not properly escaped
|
| | | - Added more error checking to blob page and blame page
|
| | | - Disable SNI extensions for client SSL connections
|
| | | - Fix NPE when getting user's fork without repository list caching (issue 182)
|
| | | - Fix internal error on folder history links (issue 192)
|
| | | - Fixed incorrect icon file name for .doc files (issue 200)
|
| | |
| | | SSL_CONTEXT = context;
|
| | | HOSTNAME_VERIFIER = new DummyHostnameVerifier();
|
| | | CHARSET = "UTF-8";
|
| | | |
| | | // Disable Java 7 SNI checks
|
| | | // http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade-to-java-1-7-0
|
| | | System.setProperty("jsse.enableSNIExtension", "false");
|
| | | }
|
| | |
|
| | | public static void setAuthorization(URLConnection conn, String username, char[] password) {
|