fixed extension recognition for redirected autolinks