| Summary: | IOUtilities.getQueryParameter() returns the wrong parameter | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> | ||||
| Component: | Server | Assignee: | Mark Macdonald <mamacdon> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 10.0 | ||||||
| Target Milestone: | 10.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed, and added tests http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=87c6827 |
Created attachment 256802 [details] Test class showing the problem The helper getQueryParameter() in org.eclipse.orion.server.core/src/org/eclipse/orion/server/core/IOUtilities.java contains a bug. If the caller requests query parameter "X" and an earlier param "Xy=..." appears in the query string before "X=", then Xy's value is returned instead of X's value Sample code attached