Skip to content

Refactor: Move URL utils getParameterByName to url_utility [RUN AS-IF-FOSS]

What does this MR do?

Part of #328844 (closed)

This change moves getParameterByName from ~/lib/utils/common_utils to ~/lib/utils/url_utility.

Eventually getParameterByName should be replaced by another function in url_utility (such as getParameterValues), this not yet a cleanup step.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #328844 (closed)

Edited by Miguel Rincon

Merge request reports