Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for issues (0.17 sec)

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

      }
    
      /**
       * Verify that we don't retry connections on certificate verification errors.
       *
       * http://code.google.com/p/android/issues/detail?id=13178
       */
      @Flaky
      @Test
      fun connectViaHttpsToUntrustedServer() {
        // Flaky https://github.com/square/okhttp/issues/5222
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse()) // unused
        assertFailsWith<IOException> {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

          assertThat(response.body.string()).isEqualTo("abc")
          assertThat(response.trailers()).isEqualTo(headersOf("caboose", "xyz"))
        }
      }
    
      @Disabled("Follow up with fix in https://github.com/square/okhttp/issues/6853")
      @Test
      fun serverDisconnectsBeforeSecondRequestHttp1() {
        enableProtocol(Protocol.HTTP_1_1)
    
        server.enqueue(MockResponse(code = 200, body = "Req1"))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. docs/security/security_providers.md

    [OpenJDK]: https://openjdk.java.net/groups/security/
    [OpenJSSE]: https://github.com/openjsse/openjsse
    [OpenSSL]: https://www.openssl.org/
    [bug5592]: https://github.com/square/okhttp/issues/5592
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertInvalid("http://[::1%2544]", "Invalid URL host: \"[::1%2544]\"")
      }
    
      @Test
      fun hostIpv6AddressTooManyLeadingZeros() {
        // Guava's been buggy on this case. https://github.com/google/guava/issues/3116
        assertInvalid(
          "http://[2001:db8:0:0:1:0:0:00001]",
          "Invalid URL host: \"[2001:db8:0:0:1:0:0:00001]\"",
        )
      }
    
      @Test
      fun hostIpv6WithIpv4Suffix() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

          }
        }
    
      /** Returns true if the certificate was signed by [issuer]. */
      @Throws(SignatureException::class)
      fun checkSignature(issuer: PublicKey): Boolean {
        val signedData = CertificateAdapters.tbsCertificate.toDer(tbsCertificate)
    
        return Signature.getInstance(tbsCertificate.signatureAlgorithmName).run {
          initVerify(issuer)
          update(signedData.toByteArray())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 902 bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

     *  Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct
        manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not
        strictly ASCII. This issue is tracked as [CVE-2021-0341].
    
    
    ## Version 4.9.1
    
    _2021-01-30_
    
     *  Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. docs/security/security.md

    
    ## Reporting a Vulnerability
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    guidelines at https://bugcrowd.com/squareopensource
    
    
    ## Verifying Artifacts
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 27 10:19:17 GMT 2022
    - 1.4K bytes
    - Viewed (0)
Back to top