[Rt-commit] rt branch, 4.4/validator-asset-links, repushed

? sunnavy sunnavy at bestpractical.com
Fri Mar 9 17:26:24 EST 2018


The branch 4.4/validator-asset-links was deleted and repushed:
       was 8cb7bc4f948204f2faa0467c57807a2d4483bac1
       now b6ed832659da7ef6b030a003f46b55071b55471d

1: 8cb7bc4f9 ! 1: 62b9148f8 Update link checking regex to match asset links
    @@ -16,7 +16,8 @@
                      $res = 0;
                      print STDERR "Record #$id in $table. Value of $column column most probably is an incorrect link\n";
     -                my ($wrong_org) = ( $value =~ m{^\Q$scheme\E://(.+)/[^/]+/[0-9]*$} );
    -+                my ($wrong_org) = ( $value =~ m{^\Q$scheme\E://(.+)/(?:[^/]+/)*[0-9]*$} );
    ++                my ($wrong_org) = ( $value =~ m{^\Q$scheme\E://(.+?)/(?:[^/]+/)*[0-9]*$} );
                      next unless my $replace_with = prompt(
                          'Replace',
                          "Column $column in $table is a link.  There is record #$id that has a"
    +
-:  ------- > 2: b6ed83265 Remove trailing "/" from RT::URI::asset::LocalURIPrefix for consistency



More information about the rt-commit mailing list