Extra slash in URL routing when using buildLink() and/or relocate()


When creating URL's with buildLink() or redirect() in CB 5.0.0 it produces an erroneous extra slash:


Note the extra slash at the beginning of index.cfm

This happens both under CommandBox (on Windows) and running under Linux (apache)


Luis Majano
March 9, 2018, 3:34 PM

Can you post your routing config file for your app please

Denard Springle
March 14, 2018, 5:36 PM

Weird, didn't see your ask for routing config file until today. I went ahead and grabbed the latest code directly from the GitHub development branch and manually patched my codebase with the latest code for ColdBox.

Doing so has resolved this issue and one other , but not the case sensitive pathing issues under Linux .

Please close this issue.

Luis Majano
March 14, 2018, 5:38 PM

I just discovered that the be version was not really be on ForgeBox. I just pushed a fix for that. So in all reality the @be was a very very old version.

If you patched it, can you submit a pull reuqest?

Denard Springle
March 14, 2018, 5:55 PM

Ah, well that explains a lot lol. And by 'patched' I mean I integrated the latest ColdBox into my application, haven't touched ColdBox itself... yet.


Luis Majano


Denard Springle



Affects versions