Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple path characteristics for switch_page and page_link (#…
…8127) ## Describe your changes The changes made improve page path calculation, but don't support file path scenarios with `..`, etc. This change aims to clean up the logic and ensure it's consistent. ## Testing Plan - Unit Tests - Tested the file path methods to cover all the use cases - Manual Testing - Testing on Windows and Mac --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
- Loading branch information
Showing
4 changed files
with
108 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
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