boxlang-express 0.1.7

Released .

  • Fix: boxExpressStatic() threw on any request to the mount root (/) instead of falling through to next(), returning a generic 500 for what should have been the app's own route handler. The middleware stripped the leading slash with req.path.right( req.path.len() - 1 ), which becomes right(0) for req.path == "/" — BoxLang's right() throws "Count cannot be zero" for a zero count (CF/Lucee just returns ""). Switched to mid(), which handles it correctly.