1.Fix bug: Pattern url and Pattern order.(sometimes incorrect when url is not end with .html)