Home
last modified time | relevance | path

Searched refs:referrer (Results 1 – 25 of 56) sorted by relevance

123

/third_party/libwebsockets/lib/roles/http/server/
Daccess-log.c129 wsi->http.access_log.referrer = lws_malloc((unsigned int)l + 5, "referrer"); in lws_prepare_access_log_info()
130 if (!wsi->http.access_log.referrer) { in lws_prepare_access_log_info()
136 wsi->http.access_log.referrer[0] = '\0'; in lws_prepare_access_log_info()
137 if (lws_hdr_copy(wsi, wsi->http.access_log.referrer, in lws_prepare_access_log_info()
141 if (wsi->http.access_log.referrer[m] == '\"') in lws_prepare_access_log_info()
142 wsi->http.access_log.referrer[m] = '\''; in lws_prepare_access_log_info()
152 *p1 = wsi->http.access_log.referrer; in lws_access_log()
201 if (wsi->http.access_log.referrer) { in lws_access_log()
202 lws_free(wsi->http.access_log.referrer); in lws_access_log()
203 wsi->http.access_log.referrer = NULL; in lws_access_log()
/third_party/node/deps/undici/src/lib/fetch/
Drequest.js163 referrer: request.referrer, property
203 request.referrer = 'client'
216 if (init.referrer !== undefined) {
218 const referrer = init.referrer
221 if (referrer === '') {
222 request.referrer = 'no-referrer'
229 parsedReferrer = new URL(referrer, baseUrl)
231 throw new TypeError(`Referrer "${referrer}" is not a valid URL.`, { cause: err })
242 request.referrer = parsedReferrer
569 get referrer () { getter in Request
[all …]
Dutil.js359 if (request.referrer === 'client') {
371 } else if (request.referrer instanceof URL) {
373 referrerSource = request.referrer
Dindex.js563 if (request.referrer !== 'no-referrer') {
564 request.referrer = determineRequestsReferrer(request)
1337 if (httpRequest.referrer instanceof URL) {
1338 httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href))
/third_party/cef/patch/patches/
Dblink_security_policy_1289230.patch7 if (referrer == Referrer::NoReferrer())
9 - DCHECK(!referrer.IsEmpty());
10 + // DCHECK(!referrer.IsEmpty());
12 KURL referrer_url = KURL(NullURL(), referrer).UrlStrippedForUseAsReferrer();
/third_party/node/test/fixtures/wpt/common/security-features/tools/
Dspec.src.json311 // This is applicable to referrer-policy tests.
332 // Use "worker-classic" for referrer-policy.
367 // This is applicable to referrer-policy tests.
388 // Use "worker-module" for referrer-policy.
/third_party/node/test/fixtures/wpt/common/security-features/
DREADME.md3 - referrer-policy/
20 - `/referrer-policy/generic/subresource-test`:
28 The project (i.e. a WPT subdirectory, for example `referrer-policy/`) that uses the generator shoul…
37 project-directory/ (e.g. referrer-policy/)
101 project-directory/ (e.g. referrer-policy/)
139 * Add a sanity check test for a sub-resource to `referrer-policy/generic/subresource-test/`.
177 …at to generate. For examples of spec JSON files, see [referrer-policy/spec.src.json](../../referre…
184 …he [Referrer Policy specification](http://w3c.github.io/webappsec/specs/referrer-policy/) structur…
223 For example a test expansion pattern (taken from [referrer-policy/spec.src.json](../../referrer-pol…
231 "delivery_value": "no-referrer-when-downgrade",
[all …]
/third_party/node/lib/internal/modules/cjs/
Dhelpers.js223 function normalizeReferrerURL(referrer) { argument
224 if (typeof referrer === 'string' && path.isAbsolute(referrer)) {
225 return pathToFileURL(referrer).href;
227 return new URL(referrer).href;
/third_party/cef/libcef/common/
Drequest_impl.cc402 if (request->referrer.is_valid()) { in Set()
406 request->referrer, in Set()
441 request->referrer = referrer_url_; in Get()
533 content::Referrer::SanitizeForRequest(params.url(), params.referrer()); in Set()
551 if (params->referrer && params->referrer->url.is_valid()) { in Get()
552 const blink::WebString& referrer = in Get() local
554 params->referrer->policy, params->url, in Get()
555 blink::WebString::FromUTF8(params->referrer->url.spec())); in Get()
556 if (!referrer.IsEmpty()) { in Get()
557 request.SetReferrerString(referrer); in Get()
[all …]
/third_party/curl/tests/data/
Dtest42120 referrer-policy: strict-origin-when-cross-origin
32 referrer-policy: strict-origin-when-cross-origin
70 "referrer-policy":["strict-origin-when-cross-origin","strict-origin-when-cross-origin"],
Dtest208136 Automatic referrer credential and anchor stripping check
/third_party/cef/libcef/common/mojom/
Dcef.mojom12 import "third_party/blink/public/mojom/loader/referrer.mojom";
30 // The referrer for the request.
31 blink.mojom.Referrer referrer;
/third_party/cef/libcef/browser/
Dframe_host_impl.cc311 const content::Referrer& referrer, in LoadURLWithExtras() argument
327 gurl, referrer, WindowOpenDisposition::CURRENT_TAB, transition, in LoadURLWithExtras()
336 params->referrer = in LoadURLWithExtras()
337 blink::mojom::Referrer::New(referrer.url, referrer.policy); in LoadURLWithExtras()
Dbrowser_info_manager.h76 const content::Referrer& referrer,
Dframe_host_impl.h94 const content::Referrer& referrer,
Dbrowser_info_manager.cc109 const content::Referrer& referrer, in CanCreateWindow() argument
118 content::OpenURLParams params(target_url, referrer, disposition, in CanCreateWindow()
/third_party/node/test/parallel/
Dtest-vm-module-basic.js170 importModuleDynamically(specifier, referrer) { argument
172 assert.strictEqual(referrer, f);
/third_party/cef/libcef/browser/chrome/
Dchrome_content_browser_client_cef.cc163 const content::Referrer& referrer, in CanCreateWindow() argument
173 container_type, target_url, referrer, frame_name, disposition, in CanCreateWindow()
179 opener, target_url, referrer, frame_name, disposition, features, in CanCreateWindow()
Dchrome_content_browser_client_cef.h40 const content::Referrer& referrer,
/third_party/cef/libcef/browser/net/
Dthrottle_handler.cc37 params.url(), params.referrer(), WindowOpenDisposition::CURRENT_TAB, in NavigationOnUIThread()
/third_party/node/deps/v8/src/objects/
Dmodule.h68 Local<v8::Module> referrer);
/third_party/node/deps/undici/src/lib/websocket/
Dconnection.js47 referrer: 'no-referrer', property
/third_party/node/src/
Dmodule_wrap.h100 v8::Local<v8::Module> referrer);
/third_party/node/deps/undici/src/types/
Dfetch.d.ts114 referrer?: string
/third_party/node/deps/undici/
Dundici.js762 "no-referrer",
763 "no-referrer-when-downgrade",
5103 referrer: request.referrer, property
5132 request.referrer = "client";
5137 if (init.referrer !== void 0) {
5138 const referrer = init.referrer;
5139 if (referrer === "") {
5140 request.referrer = "no-referrer";
5144 parsedReferrer = new URL(referrer, baseUrl);
5146 throw new TypeError(`Referrer "${referrer}" is not a valid URL.`, { cause: err });
[all …]

123