[Bps-public-commit] assets branch, links, repushed

Dustin Graves dustin at bestpractical.com
Mon Aug 17 12:52:50 EDT 2015


The branch links was deleted and repushed:
       was 53b7fabd10e10bb9b23f9d493515201b3a9389f8
       now ec63ac8a77d7cc3ec7381ca7fd62c7bd2c4b93ac

1:  4693d64 ! 1:  ec63ac8 Change asset link to save proper id and not verbatim string e.g. 1 not 001
    @@ -12,9 +12,8 @@
          # canonicalize "42" and "asset:42" -> asset://example.com/42
          if ($uri =~ /^(?:\Q$scheme\E:)?(\d+)$/i) {
     -        $self->{'uri'} = $self->LocalURIPrefix . $1;
    -+        my $assetId = 0+$1;
    ++        my $assetId = 0+$1; # convert asset id $1 into proper number format
     +        $self->{'uri'} = $self->LocalURIPrefix . $assetId;
          }
          else {
              $self->{'uri'} = $uri;
    -
2:  53b7fab < -:  ------- wip



More information about the Bps-public-commit mailing list