Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CheckJoiners (0.14 sec)

  1. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    	return func(o *options) { o.checkHyphens = enable }
    }
    
    // CheckJoiners sets whether to check the ContextJ rules as defined in Appendix
    // A of RFC 5892, concerning the use of joiner runes.
    //
    // This option corresponds to the CheckJoiners flag in UTS #46.
    func CheckJoiners(enable bool) Option {
    	return func(o *options) {
    		o.trie = trie
    		o.checkJoiners = enable
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    	return func(o *options) { o.checkHyphens = enable }
    }
    
    // CheckJoiners sets whether to check the ContextJ rules as defined in Appendix
    // A of RFC 5892, concerning the use of joiner runes.
    //
    // This option corresponds to the CheckJoiners flag in UTS #46.
    func CheckJoiners(enable bool) Option {
    	return func(o *options) {
    		o.trie = trie
    		o.checkJoiners = enable
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
      fun test() {
        val list = WebPlatformToAsciiData.load()
        val failures = mutableListOf<Throwable>()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-toascii.json

        "output": "xn--zca.xn--zca"
      },
      {
        "input": "ab--c.xn--zca",
        "output": "ab--c.xn--zca"
      },
      {
        "input": "ab--c.ß",
        "output": "ab--c.xn--zca"
      },
      {
        "comment": "CheckJoiners is true",
        "input": "\u200D.example",
        "output": null
      },
      {
        "input": "xn--1ug.example",
        "output": null
      },
      {
        "comment": "CheckBidi is true",
        "input": "يa",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      // Must be NFC.
      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
      // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
      // TODO: CheckJoiners from IDNA 2008
      // TODO: CheckBidi from IDNA 2008, RFC 5893, Section 2.
    
      return Punycode.encode(decoded)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top