- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for samesite (0.24 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
} @Test fun emptySameSite() { assertThat(parse(url, "a=b; SameSite=")!!.sameSite).isEqualTo("") assertThat(parse(url, "a=b; SameSite= ")!!.sameSite).isEqualTo("") assertThat(parse(url, "a=b; SameSite=\r\t \n")!!.sameSite).isEqualTo("") } @Test fun spaceInSameSite() { assertThat(parse(url, "a=b; SameSite=a b")!!.sameSite).isEqualTo("a b") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0) -
api/go1.11.txt
pkg net/http, const SameSiteDefaultMode SameSite pkg net/http, const SameSiteLaxMode = 2 pkg net/http, const SameSiteLaxMode SameSite pkg net/http, const SameSiteStrictMode = 3 pkg net/http, const SameSiteStrictMode SameSite pkg net/http, const StatusMisdirectedRequest = 421 pkg net/http, const StatusMisdirectedRequest ideal-int pkg net/http, type Cookie struct, SameSite SameSite pkg net/http, type SameSite int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 22 03:48:56 GMT 2018 - 25K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
cookie.setAttribute("SameSite", fessConfig.getCookieSearchParameterSameSite()); res.addCookie(cookie); if (logger.isDebugEnabled()) { logger.debug( "Stored search parameters in cookie: name={}, size={}, maxAge={}, path={}, domain={}, secure={}, httpOnly={}, sameSite={}",
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
CHANGELOG.md
this new one.) ```kotlin implementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12") ``` * New: `Cookie.sameSite` determines whether cookies should be sent on cross-site requests. This is used by servers to defend against Cross-Site Request Forgery (CSRF) attacks.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
src/archive/tar/writer_test.go
{"abc", "", "", false}, {"用戶名", "", "", false}, {sr("a", nameSize), "", "", false}, {sr("a", nameSize) + "/", "", "", false}, {sr("a", nameSize) + "/a", sr("a", nameSize), "a", true}, {sr("a", prefixSize) + "/", "", "", false}, {sr("a", prefixSize) + "/a", sr("a", prefixSize), "a", true}, {sr("a", nameSize+1), "", "", false}, {sr("/", nameSize+1), sr("/", nameSize-1), "/", true}, {sr("a", prefixSize) + "/" + sr("b", nameSize),Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/archive/tar/writer.go
// Use long-link files if Name or Linkname exceeds the field size. const longName = "././@LongLink" if len(hdr.Name) > nameSize { data := hdr.Name + "\x00" if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil { return err } } if len(hdr.Linkname) > nameSize { data := hdr.Linkname + "\x00" if err := tw.writeRawFile(longName, data, TypeGNULongLink, FormatGNU); err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
internal/ioutil/ioutil.go
bufp := ODirectPoolMedium.Get() defer ODirectPoolMedium.Put(bufp) buf := *bufp return io.CopyBuffer(writerOnly{dst}, src, buf) } // SameFile returns if the files are same. func SameFile(fi1, fi2 os.FileInfo) bool { if !os.SameFile(fi1, fi2) { return false } if !fi1.ModTime().Equal(fi2.ModTime()) { return false } if fi1.Mode() != fi2.Mode() { return false }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
src/archive/tar/tar_test.go
formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{Name: strings.Repeat("a", nameSize)}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{Name: strings.Repeat("a", nameSize+1)}, paxHdrs: map[string]string{paxPath: strings.Repeat("a", nameSize+1)}, formats: FormatPAX | FormatGNU, }, { header: &Header{Linkname: "用戶名"},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
src/archive/tar/format.go
magicUSTAR, versionUSTAR = "ustar\x00", "00" trailerSTAR = "tar\x00" ) // Size constants from various tar specifications. const ( blockSize = 512 // Size of each block in a tar stream nameSize = 100 // Max length of the name field in USTAR format prefixSize = 155 // Max length of the prefix field in USTAR format // Max length of a special file (PAX header, GNU long name or link).
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0)