index.cfm is still appearing in the url on SES and rewrite rule sites

I have tried to find what is causing this and I am at a loss, here is how you duplicate the problem.

Log into ContentBox

Restart ColdFusion or change the App name

Click on any link, and log back in.

The redirection will then look like this

http://127.0.0.1:82/index.cfm/cbadmin/layouts

It looks like when the previous URL is captured it is not caring if it is a rewrite rule or not, I have done a search for this but it looks like it is bypassing the rewrite rules somehow. I just can’t seem to see how.

But rest assured it is there and extremely easy to duplicate.

Well it seems it was easier to find than I thought…

The login form is the culprit

Username: Password:
Remember Me  

lostPassword Lost your password?

So how is the _securedUrl getting the index.cfm?