Plugin Directory

Changeset 3348592


Ignore:
Timestamp:
08/22/2025 10:59:53 AM (7 months ago)
Author:
siteimprove
Message:

Deploy version 2.1.1

Location:
siteimprove
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • siteimprove/tags/2.1.1/admin/class-siteimprove-admin.php

    r3331420 r3348592  
    285285        // Apply public URL transformation if configured.
    286286        if ( ! empty( $public_url ) ) {
    287             $url = "$public_url$path" . ( isset( $parsed_url['query'] ) ? "?$parsed_url[query]" : '' );
     287            $public_url = rtrim( $public_url, '/' );
     288            $normalized_path = '/' . ltrim( $path, '/' );
     289            $query_string = isset( $parsed_url['query'] ) ? '?' . $parsed_url['query'] : '';
     290            $url = $public_url . $normalized_path . $query_string;
    288291        } else {
    289292            // If no public URL is set, reconstruct the URL with the filtered path.
  • siteimprove/tags/2.1.1/readme.txt

    r3331420 r3348592  
    8888
    8989== Changelog ==
     90= 2.1.1 =
     91* Bugfix - Ignore trailing slash in public url (prevents potential double slash when filtering first path parameter)
     92
    9093= 2.1.0 =
    9194* Added - Ignore Path Segments setting to remove specific path segments when building public URLs
  • siteimprove/tags/2.1.1/siteimprove.php

    r3331420 r3348592  
    1010 * Plugin URI:          https://www.siteimprove.com/integrations/cms-plugin/wordpress/
    1111 * Description:         Integration with Siteimprove.
    12  * Version:             v2.1.0
     12 * Version:             v2.1.1
    1313 * Author:              Siteimprove
    1414 * Author URI:          http://www.siteimprove.com/
  • siteimprove/trunk/admin/class-siteimprove-admin.php

    r3331420 r3348592  
    285285        // Apply public URL transformation if configured.
    286286        if ( ! empty( $public_url ) ) {
    287             $url = "$public_url$path" . ( isset( $parsed_url['query'] ) ? "?$parsed_url[query]" : '' );
     287            $public_url = rtrim( $public_url, '/' );
     288            $normalized_path = '/' . ltrim( $path, '/' );
     289            $query_string = isset( $parsed_url['query'] ) ? '?' . $parsed_url['query'] : '';
     290            $url = $public_url . $normalized_path . $query_string;
    288291        } else {
    289292            // If no public URL is set, reconstruct the URL with the filtered path.
  • siteimprove/trunk/readme.txt

    r3331420 r3348592  
    8888
    8989== Changelog ==
     90= 2.1.1 =
     91* Bugfix - Ignore trailing slash in public url (prevents potential double slash when filtering first path parameter)
     92
    9093= 2.1.0 =
    9194* Added - Ignore Path Segments setting to remove specific path segments when building public URLs
  • siteimprove/trunk/siteimprove.php

    r3331420 r3348592  
    1010 * Plugin URI:          https://www.siteimprove.com/integrations/cms-plugin/wordpress/
    1111 * Description:         Integration with Siteimprove.
    12  * Version:             v2.1.0
     12 * Version:             v2.1.1
    1313 * Author:              Siteimprove
    1414 * Author URI:          http://www.siteimprove.com/
Note: See TracChangeset for help on using the changeset viewer.