humanmade / humanmade/altis-cloud

Ensure cloud limitations are reflected in local development environments

Open
#395 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9
Forks
2
Avg merge
6d 1h
Merged PRs (30d)
23

Description

After trying to debug why `wp_get_referer()` was working locally but not on our development environment, I saw in the [Altis documentation](https://docs.altis-dxp.com/cloud/limitations/) that the HTTP referer header is not available.

This limitation only applies to our cloud environments. This should also be reflected in our local environments to prevent developers writing code that will not work once pushed to a cloud environment.

I also suggest adding a PHP notice or some other notifier when using known functions that are affected (such as `wp_get_referer()` in this case).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.