Selecting the first occurrence of a parameter is a frequently used method of handling repeated parameters, see slide 9 of OWASP's parameter pollution presentation.
Selecting the first occurrence also avoids factoring in unwanted parameters appended by the user.
Selecting the first occurrence of a parameter is a frequently used method of handling repeated parameters, see slide 9 of OWASP's parameter pollution presentation.
Selecting the first occurrence also avoids factoring in unwanted parameters appended by the user.