Fix redirection to url without trailing slashes not considering about config urlpath
Fix redirection to url without trailing slashes not considering about config urlpath

hackmdio/hackmd,jccrofty30/hackmd,aswathyjacob8/newtest,aswathyjacob8/newtest,PeterDaveHello/hackmd,ironhack/hackmd,jackycute/HackMD,PeterDaveHello/hackmd,ironhack/hackmd,hackmdio/hackmd,jackycute/HackMD,Yukaii/hackmd,PeterDaveHello/hackmd,hackmdio/hackmd,jccrofty30/hackmd,Rwing/hackmd,Yukaii/hackmd,jccrofty30/hackmd,Rwing/hackmd,aswathyjacob8/newtest,Yukaii/hackmd,Rwing/hackmd,jackycute/HackMD,ironhack/hackmd