Resolve "Improve url generation"
What does this MR do and why?
This MR improves URL generation to remove hidden dependency on urlp param being passed
Screenshots or screen recordings
N/A
How to set up and validate locally
Theoretically green test suite should be fine. Otherwise you can use guidelines from [Compliance Pipelines][FE] Policy Editor uses p... (!164423 - merged) to ensure functionality remains intact
Numbered steps to set up and validate the change are strongly suggested.
Related to #486877
Edited by Illya Klymov