From e4de82aaa67c9859db5cc0518600b64b6a80612e Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Tue, 4 Feb 2020 16:11:44 +0000 Subject: [PATCH] Improved links sanization. --- repository/Grafoscopio/GrafoscopioNode.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/Grafoscopio/GrafoscopioNode.class.st b/repository/Grafoscopio/GrafoscopioNode.class.st index bbc8d9d..2ddd88c 100644 --- a/repository/Grafoscopio/GrafoscopioNode.class.st +++ b/repository/Grafoscopio/GrafoscopioNode.class.st @@ -978,7 +978,7 @@ GrafoscopioNode >> root [ { #category : #operation } GrafoscopioNode >> sanitizeDefaultLink [ | defaultLink sanitized protocol | - defaultLink := self links last. + defaultLink := self lastLink. protocol := 'docutopia://'. (defaultLink beginsWith: protocol ) ifTrue: [ sanitized := defaultLink copyReplaceAll: protocol with: 'https://docutopia.tupale.co/' ].