From f85e3d137bb16f05797f108cb420bfa8a7e48489 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Wed, 6 Aug 2014 13:45:54 -0600 Subject: [PATCH] fixed parameter mapping in RibbonRoutingFilter --- .../netflix/zuul/filters/route/RibbonRoutingFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-platform-netflix-core/src/main/java/org/springframework/platform/netflix/zuul/filters/route/RibbonRoutingFilter.java b/spring-platform-netflix-core/src/main/java/org/springframework/platform/netflix/zuul/filters/route/RibbonRoutingFilter.java index 49067d65..b937fc24 100644 --- a/spring-platform-netflix-core/src/main/java/org/springframework/platform/netflix/zuul/filters/route/RibbonRoutingFilter.java +++ b/spring-platform-netflix-core/src/main/java/org/springframework/platform/netflix/zuul/filters/route/RibbonRoutingFilter.java @@ -162,9 +162,9 @@ public class RibbonRoutingFilter extends ZuulFilter { MultivaluedMap params = new MultivaluedMapImpl(); if (map == null) return params; - for (String key : params.keySet()) { + for (String key : map.keySet()) { - for (String value : params.get(key)) { + for (String value : map.get(key)) { params.add(key, value); } }