Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix static caching error Undefined array key "scheme" #7130

Merged
merged 5 commits into from
Nov 28, 2022

Conversation

arthurperton
Copy link
Contributor

Fixes #6764.

@what-the-diff
Copy link

what-the-diff bot commented Nov 28, 2022

  • The function getPathAndDomain() was changed to ensure that the path is always prefixed with a slash.
  • In CacherTest, two tests were added for invalidating URLs without slashes in front of them (e.g., 'one' instead of '/one').

@jasonvarga jasonvarga merged commit ca51cbc into statamic:3.3 Nov 28, 2022
@arthurperton arthurperton deleted the issue/6764-undefined-key-scheme branch November 28, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static cache error – Undefined array key "scheme"
2 participants