Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 2022 (0.21 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertInvalid("http://.a/", "Invalid URL host: \".a\"")
        assertInvalid("http://../", "Invalid URL host: \"..\"")
      }
    
      @Test
      fun hostnameTelephone() {
        // https://www.gosecure.net/blog/2020/10/27/weakness-in-java-tls-host-verification/
    
        // Map the single character telephone symbol (℡) to the string "tel".
        assertThat(parse("http://\u2121").host).isEqualTo("tel")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    /*
     * Copyright (C) 2012 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top