Martin Kopec 61f9d66fc7 Fix identity URL parsing
The identity URLs have a different rules for parsing,
but the code before looked for word 'identity' in
whole given URL to determine it was an identity URL.
This can conflict with a URL hostname which can contain
'identity' too.
The patch fixes that by looking for 'identity' only in
URL.path (after hostname:port part).
The patch also adds a new unit test for this case.

Change-Id: I265f4d38d81dc74b05f2af9adb6fe33db876329c
Story: 2002965
Task: 22970
2018-07-18 13:09:59 +00:00
..
2018-07-18 13:09:59 +00:00
2016-08-24 17:21:57 +02:00
2018-06-22 10:42:06 +00:00
2018-07-13 13:01:36 +00:00