Skip to content

Commit f8adb60

Browse files
committed
Boost LCP: preserve trailing slash on cornerstone URLs sent to cloud analyzer
1 parent f67c919 commit f8adb60

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

projects/plugins/boost/app/lib/cornerstone/class-cornerstone-utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static function get_provider_key( $url ) {
9898
public static function prepare_provider_data( $url ) {
9999
return array(
100100
'key' => self::get_provider_key( $url ),
101-
'url' => self::sanitize_url( $url ),
101+
'url' => $url,
102102
);
103103
}
104104

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fixed
3+
4+
LCP: stop stripping the trailing slash from cornerstone URLs before sending them to the cloud analyzer, so sites whose permalinks require trailing slashes are analyzed at the canonical URL.

0 commit comments

Comments
 (0)