If so, how can i change the following code:
(script-path (tbnl::enough-url (ppcre:regex-replace-all "\\\\" script-name "/") uri-prefix))
thanks!
Maybe you are looking for this?
CL-USER> (puri:render-uri
(puri:enough-uri "http://foo.bar.com/baz/blub"
"http://foo.bar.com/")
nil)
"/baz/blub"