From 3665fc678c516ddc848941bfb3a358123c55f3bb Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Mon, 8 Apr 2019 21:10:14 +0000 Subject: [PATCH] Debugging sanitize. --- repository/Fossil/FossilRepo.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Fossil/FossilRepo.class.st b/repository/Fossil/FossilRepo.class.st index 4bca15a..7982952 100644 --- a/repository/Fossil/FossilRepo.class.st +++ b/repository/Fossil/FossilRepo.class.st @@ -147,10 +147,10 @@ FossilRepo >> remote: anUrlString [ { #category : #utilities } FossilRepo >> sanitize: aFileNameWithRelativePath [ "I dicern if my argument concerns to a versioned or an unversioned file, - and return a relative path to put the file." + and return a relative path to put the fileb." (aFileNameWithRelativePath beginsWith: '/uv') - ifTrue: [ ^ aFileNameWithRelativePath copyWithout: '/uv' ] + ifTrue: [ ^ (aFileNameWithRelativePath copyFrom: 4 to: aFileNameWithRelativePath size) ] ] { #category : #authentication }