asual / lesscss-servlet

LESS Servlet - Runtime handling and optimization of less.js resources
http://www.asual.com/lesscss
Apache License 2.0
56 stars 15 forks source link

Fix 404 issue when uri generated with jsessionid. #20

Closed TachikomaGT closed 11 years ago

TachikomaGT commented 11 years ago

When cookies are disabled or, in my case, during first request <c:url> jstl tag generates uri like "/css/ipad.less;jsessionid=8F2DBDAD09DB189EAD4F531D3C555B4D" This causes 404 response. Concatenation of contextPath, servletPath and pathInfo instead of requestURI solves this issue and allows not to strip exceeded slashes.

Related discussion: https://issues.apache.org/bugzilla/show_bug.cgi?id=51833