Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shellEscape (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            if (bodyBuffer.isProbablyUtf8()) {
              append(" \\\n  --data ${bodyBuffer.readUtf8().shellEscape()}")
            } else {
              append(" \\\n  --data-binary ${bodyBuffer.readByteString().hex().shellEscape()}")
            }
          }
        }
    
      private fun String.shellEscape(): String = "'${replace("'", "'\\''")}'"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
Back to top