5.4 fix url regex for only accept media