Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for invalidHost (0.19 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        executeSynchronously(request)
        assertThat(server.takeRequest().body?.utf8()).isEqualTo("abc")
      }
    
      @Disabled // This may fail in DNS lookup, which we don't have timeouts for.
      @Test
      fun invalidHost() {
        val request = Request("http://1234.1.1.1/".toHttpUrl())
        executeSynchronously(request)
          .assertFailure(UnknownHostException::class.java)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
                // Validate host format
                if (!isValidHost(host)) {
                    throw new SmbException("Invalid host in SMB URL");
                }
    
                // Validate path component
                String path = url.getPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
            // Connection with invalid port
            SmbTransportImpl first = testPool.getSmbTransport(ctx, address, invalidPort, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. docs/es/docs/index.md

    ...y con esa única declaración obtienes:
    
    * Soporte para editores, incluyendo:
        * Autocompletado.
        * Chequeo de tipos.
    * Validación de datos:
        * Errores automáticos y claros cuando los datos son inválidos.
        * Validación incluso para objetos JSON profundamente anidados.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top