1

如果是这样,我该如何更改以下代码:

(script-path (tbnl::enough-url (ppcre:regex-replace-all "\\\\" script-name "/") uri-prefix))

谢谢!

4

1 回答 1

5

也许你正在寻找这个?

CL-USER> (puri:render-uri
          (puri:enough-uri "http://foo.bar.com/baz/blub"
                           "http://foo.bar.com/")
          nil)
"/baz/blub"
于 2012-09-06T10:28:20.460 回答