lordcheng10 commented on PR #14166: URL: https://github.com/apache/apisix/pull/14166#issuecomment-6849885223
Preserving both values is intentional. The existing query suffix is literal content from the OpenAPI path template, while generated query parameters are appended afterward; deduplicating would silently discard either a template-authored value or a valid repeated parameter. The contract is therefore ordered concatenation, for example `?prefix=static&prefix=dynamic`. I merged the latest `origin/master` and extended TEST 130 with the same-key case to make this behavior explicit. A handler-level runtime check produced: ```text http://127.0.0.1:11460/b?prefix=logs http://127.0.0.1:11460/b?acl&prefix=logs http://127.0.0.1:11460/b?prefix=static&prefix=dynamic ``` Commit: `16e1c3be624c57732fd13d9a699e9bb9eeb27227`. The local Test::Nginx environment is unavailable because `Test::Nginx::Socket::Lua::Stream` is not installed; CI will run the full test file. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
