Fix bug -refs #6817

Change regex to sanitize url type whit ://. And change the http based url generated, REL_COURSE_PATH, by WEB_COURSE_PATH