Remove the workaround from `direct` url helpers
## Why are we doing this work We've found an issue on Rails while working on https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51865. The patch for Rails has already been implemented and the PR is submitted but there is no guarantee that the patch will ever be merged into Rails or how long will it take. Because of these reasons, we've added a workaround logic in our code so, this issue is here for giving some context to the readers of that workaround and to keep the track of related Rails PR. ## Relevant links - The related [MR](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51865) on GitLab - The [PR](`https://github.com/rails/rails/pull/41184`) for Rails ## Non-functional requirements <!-- Add details for required items and delete others. --> - [ ] Documentation: - [ ] Feature flag: - [ ] Performance: - [ ] Testing: ## Implementation plan <!-- Workflow and other relevant labels ~"group::" ~"Category:" ~"GitLab Ultimate" --> <!-- Other settings you might want to include when creating the issue. -->
issue