Scribble: fix problem with URL redirection

original commit: 4cc475ad688ac38c74388d45504cb883f93fa4d7
This commit is contained in:
Matthew Flatt 2012-09-13 11:05:13 -06:00
parent e15bf50937
commit f3e1a7425c

View File

@ -1121,7 +1121,11 @@
url
(combine-url/relative
(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))
"/"))
[fragment