Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zuul can't handle jsonp request #998

Closed
hhymarco opened this issue Apr 29, 2016 · 2 comments
Closed

Zuul can't handle jsonp request #998

hhymarco opened this issue Apr 29, 2016 · 2 comments

Comments

@hhymarco
Copy link

If request's jsonp ,like:
http://localhost:9995/rp-redpacket/redpackets.rp?data={%22userId%22:312565121,%22cmd%22:%22Redpacket000001%22,%22version%22:%221.0.0%22}&callback=jsonp2
zuul's RibbonRoutingFilter will occur ZuulException:
Caused by: javax.ws.rs.core.UriBuilderException: java.net.URISyntaxException: Illegal character in query at index 48: http://192.168.20.61:9006/redpackets.rp?data=%7B"userId":312565121,"cmd":"Redpacket000001","version":"1.0.0"%7D at com.sun.jersey.api.uri.UriBuilderImpl.createURI(UriBuilderImpl.java:723) at com.sun.jersey.api.uri.UriBuilderImpl._build(UriBuilderImpl.java:651) at com.sun.jersey.api.uri.UriBuilderImpl.build(UriBuilderImpl.java:641) at com.sun.jersey.api.client.WebResource.<init>(WebResource.java:88) at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:443) at com.netflix.niws.client.http.RestClient.execute(RestClient.java:598) at com.netflix.niws.client.http.RestClient.execute(RestClient.java:527) at
springcloud version is Brixton.RC2

@spencergibb
Copy link
Member

Duplicate of #918

@spencergibb
Copy link
Member

@thecorvus commenting on an old closed issue is not very helpful. Brixton is unsupported now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants