http-referer Questions

4

Solved

I'm trying to understand the behavior of HTTP referer header. I noticed that sometimes the referer is full (full URL, including path and query string) but mostly it includes the domain only. For e...
Tuberose asked 10/7, 2017 at 11:53

4

Solved

I implemented Universal Links in our iOS 9 app and they work by calling a method in AppDelegate.swift, in which I get an NSUserActvity with an URL attached to it. Is there a way to get the (HTTP-)...
Henbane asked 12/11, 2015 at 14:16

4

Solved

I want to have a 404 page that can detect if a user has come to that page either via my site, via my shortened URL or via another site, and I am making it using PHP. I am slowly getting to grips wi...
Novelty asked 29/1, 2012 at 0:52

3

Solved

I am trying to play an audio using Google Text-To-Speech. Therefore I need to post a request to their endpoint with the Referer and the User-Agent properly set. This call should return an MP3 that ...
Dredger asked 15/10, 2015 at 8:41

7

I'm trying to get the Referer of my users. Like if they come from facebook, youtube, google or anything else. Now I've tried something like that: $referrer = $this->request->headers->get('...
Lorenalorene asked 16/8, 2017 at 12:21

5

Solved

I need to redirect the user from one page to another, but I need to maintain the original referer string. So, for example, if they start out on http://www.othersite.com/pageA.jsp, click a link that...

1

Solved

If the Referer header has the Origin in it anyway, what is the point of having both? If the server receiving an HTTP request wants to know the Origin, it can just look at the domain in the Referer ...
Phytography asked 29/11, 2020 at 3:13

2

Solved

Is it possible to get the URL that a request came from in FastAPI? For example, if I have an endpoint that is requested at api.mysite.com/endpoint and a request is made to this endpoint from www.ot...
Conglomerate asked 12/1, 2022 at 16:40

10

Solved

I'm looking for a quick, easy and reliable way of getting the browser's HTTP Referrer in ASP.Net (C#). I know the HTTP Referrer itself is unreliable, but I do want a reliable way of getting the ref...
Contactor asked 23/11, 2010 at 16:19

0

Whenever I deploy a website in Firebase hosting, first I run them in firebase preview channel with the preview channel name as alpha The command for deploying to preview channel is firebase hosting...

2

Solved

I've been trying to block access from everyone that is trying to see a .php page without coming from my specific tracking link. I want that if they're not coming from my link, they be redirected ...
Bugloss asked 30/6, 2016 at 17:48

3

Solved

I have a website, www.a.com In that website, I serve a page at https://www.a.com/mypage that contains this: <script src='https://www.b.com/anotherpage'></script> If I visit from eve...
Alberik asked 5/6, 2020 at 22:35

3

Solved

I feel like i've done this a ton of times, but i can't for the life of me figure out what is going wrong. Default.aspx: protected void Page_Load(object sender, EventArgs e) { var r1 = Request.Ur...
Phenology asked 17/9, 2010 at 4:54

3

Solved

How do I know when the nginx variable $http_referer is not set or empty? I receive some requests that don't have a http referer. In nginx logs $http_referer appears like that: "-". What I am tryin...
Pallor asked 3/5, 2011 at 9:23

2

Solved

Is there a way, in nginx, to allow access to a "location" only to clients with a referrer that matches the current location name? This is the scenario: http://foooooo.com/bar.org/ http://foooooo...
Panteutonism asked 19/9, 2013 at 16:44

0

The AppScan report insists that my site have some problems with Cross Site Request Forgery. 1-) Using token on forms is a good solution but in the report there are pages without forms like "Logou...
Liveried asked 18/10, 2019 at 13:56

5

Solved

I know it's possible to get an empty HTTP_REFERER. Under what circumstances does this happen? If I get an empty one, does it always mean that the user changed it? Is getting an empty one the same a...

2

Solved

I think, this question concerns the internal workings of Selenium. In another post Referer missing in HTTP header of Selenium request it becomes apparent that there is a difference between running ...
Flog asked 6/6, 2019 at 9:14

1

I'm writing some tests with Selenium and noticed, that Referer is missing from the headers. I wrote the following minimal example to test this with https://httpbin.org/headers: import selenium.web...
Coachandfour asked 9/1, 2019 at 23:1

7

Solved

It works when I input header("Location: http://www.google.com"); but it doesn't work when I have header("Location: $_SERVER['HTTP_REFERER']"); I want to redirect the page to whatever page it...
Tricycle asked 3/11, 2011 at 19:2

4

Solved

Is there a way to make the webbrowser submit additional HTTP header if the user clicks on a link? Background: In our environment every http-request has a unique ID on the server side. See https://...
Erotic asked 7/8, 2018 at 8:11

2

Solved

I'm working on a Django web application which (amongst other things) needs to handle transaction status info sent using a POST request. In addition to the HTTP security supported by the payment ga...
Zebedee asked 3/8, 2012 at 19:15

4

Solved

Notice: Undefined index: HTTP_REFERER $http_referer = $_SERVER['HTTP_REFERER'] i used this from tutorial.and it looks okay also code is calling it from including file what should i change? i a...
Tunnage asked 14/11, 2013 at 11:12

5

Solved

In messaging system of my project when you get a message from a user you a email alert saying that the another user has sent a message to view the message click here (i.e the url of message) So if ...
Plagal asked 7/7, 2012 at 11:52

4

I have a login page which won't be accessible if user is already logged in. So login page tries to redirect logged in users back to the page where they came from. Redirect works if users click a ...
Billy asked 2/10, 2014 at 19:10

© 2022 - 2024 — McMap. All rights reserved.