Automattic / Automattic/wp-super-cache

make known users anonymous / wp_cache_make_known_anon does not respect wp_rejected_uri strings or Accepted Filenames & Rejected URIs

Open
#914 3 comments 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

make known users anonymous / wp_cache_make_known_anon does not respect wp_rejected_uri strings or Accepted Filenames & Rejected URIs.

This may be the opposite of what users expect: when certain pages are excluded from caching, there is no point in stripping the login information from these requests in order to serve a cached page.

In fact, stripping this information from pages which should be cached might break their functionality, which means the 'make known users anonymous' setting cannot be used safely.

see also:
- Automattic/wp-super-cache#422 DOING_AJAX not checked
- Automattic/wp-super-cache#937 make known users anonymous breaks Rest API

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with wp_cache_make_known_anon and trace how the wp_rejected_uri strings and Accepted Filenames & Rejected URIs settings are applied. Compare that behavior with the related DOING_AJAX and REST API issues linked in the report. Done should mean excluded requests retain the login information needed for their functionality instead of being made anonymous.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
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.