Scribble: fix problem with URL redirection
original commit: 4cc475ad688ac38c74388d45504cb883f93fa4d7
This commit is contained in:
parent
e15bf50937
commit
f3e1a7425c
|
@ -1121,7 +1121,11 @@
|
||||||
url
|
url
|
||||||
(combine-url/relative
|
(combine-url/relative
|
||||||
(string->url external-root-url)
|
(string->url external-root-url)
|
||||||
(string-join (map path-element->string
|
(string-join (map (lambda (s)
|
||||||
|
(case s
|
||||||
|
[(up) ".."]
|
||||||
|
[(same) "."]
|
||||||
|
[else (path-element->string s)]))
|
||||||
(explode-path rel))
|
(explode-path rel))
|
||||||
"/"))
|
"/"))
|
||||||
[fragment
|
[fragment
|
||||||
|
|
Loading…
Reference in New Issue
Block a user