PLF-5489 : [Regression] Open a space in the currently opened application

Fix description:
	- Analyse URL and set right one before redirecting to new space.
Merge commit '751723e0d9af8e4abc03f82c70b817ebab8201d4' into HEAD