Skip to content

[Bug] FreshRSS is sending a referrer when there is none #6811

@markcellus

Description

@markcellus

Describe the bug

I'm a provider of RSS feeds and FreshRSS is populating the referrer header of each feed request with the host domain of the feed. There is no referrer when making a request and it's value is not correct. The referrer header should be empty in these cases.

To Reproduce

  1. Get the app to make a request to an RSS feed on a server
  2. Look at the referrer request header in the request logs on the server
  3. Notice that the referrer is populated with the host server of the RSS feed

Expected behavior

The referrer request header to be empty.

FreshRSS version

1.2x

Environment information

  • Database version: [e.g. Mysql 5.7, SQLite]
  • PHP version: [e.g. PHP 8.1]
  • Installation type: [e.g. Docker, Docker image source, git, Yunohost]
    -Web server type: [e.g. Apache, nginx]
  • Device: [e.g. iPhone13]
  • OS: [e.g. Ubuntu 22.04, Win10, MacOS14]
  • Browser: [e.g. Firefox 124]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions