has anyone else noticed that the first request handled by lucee after (re)-starting it, if it’s a rewritten url, rather than showing the subsequent request, a 302 redirect is issued? every subsequent request isn’t a 302
in dev tools with preserve log on, it look like this
the 500 is just because there is a missing form parameter, I noticed this bug playing around
with a rewritten post request.
As a 302 is issued on the first request, the page url also changes, then I edited it back to have no .cfm (i.e the last two requests)
my .htaccess is
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.(cfm)$
RewriteRule ^(.*)$ ./$1.cfm [E=MY_REQUEST_URI:%{REQUEST_URI},QSA]
Lucee 5.3.1.61, Apache 2.4.27, latest mod_cfml and Tomcat 8.5.31.0 (installed via the installer)