Lessen restrictions on validPath regex check