codepath / codepath/cybersecurity
php assignment error
Open
cp content - update
php content
- Dominant language
- No language data
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Several students have reported the following issue:The output of "$_SERVER['HTTP_HOST']" for my application is "localhost:8080". However, the result of "parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST )" is "localhost". This causes my application to return false whenever I check if the request is in the same domain. It seems the issue has to do with port numbers or something like that.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.