[ticket/11832] Fix the web path corrections

Add some real life examples to test

PHPBB3-11832