Apache Forrest code fix

code fix
by
JT
:

Stopped the rewriting of extensions.