Prevent truncating and removal of page name extensions?

.htm does work and so does .anything else (.php, .asp, .123), literally anything but .html is stripped.