-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(PageResource) set tm_date as a request attribute when no session …
…exist Refs: #30552 (#30777) Pull Request Summary: Historically, the tm_date (time machine date) has been passed as a session attribute. Many components of the PageResource rely heavily on session data. However, with the transition of timeMachineDate to a request parameter, and considering that the endpoint can now be consumed via curl using a Bearer token—where there is insufficient information to construct or restore a session—we needed to ensure that this data could be propagated to the internal layers of the API. These changes introduce support for handling the timeMachineDate as a request parameter, enabling its use even when no session exists. Additionally, this update lays the groundwork for supporting a broader range of dates for capturing the publishDate.
- Loading branch information
1 parent
0c95091
commit 03141ce
Showing
3 changed files
with
50 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters