msgbyte / msgbyte/tianji

Website Visitor Country

Open
#233 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
194
Avg merge
18m
Merged PRs (30d)
3

Description

Hello,

I'm wondering what header information the Country list is using.

Header: Remote_addr can be a bit weird where in a proxy envoiremnt could cause false positives.

Would be nice to use CF-Connecting-IP and or X-Forwarded-For

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing the website analytics path that builds the visitor Country list and identify how Remote_addr is read. Compare the available proxy headers and define which address is used; done when proxied visitors are assigned the expected country without breaking direct requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
analytics, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.