Skip to content

Forwarded For #2

@pkamps

Description

@pkamps

Hi there,

disclaimer: it's the first time I try to hack on C code to please forgive me for my lack of knowledge.

I have a question about this code:

apr_table_get(r->headers_in, "X-Forwarded-For")

I know the X-Forwarded-For header can have a list of IPs (comma separted). As far as I can tell, you set the X-Forwarded-For to the 'remote_ip' variable. The remote_ip is supposed to be a single IP, right?
So, as long as the X-Forwarded-For header is a single IP it works, correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions