camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitalii Tymchyshyn <...@tym.im>
Subject Re: Special characters in URL's
Date Tue, 03 Jan 2017 13:52:44 GMT
There are two things to consider:
1) Server never receives anything after #. It's a purely client-side
feature to navigate inside the page. It's never sent to server.
2) uri in the logs below is camel endpoint uri, not http one.Path looks
correct to me, but please see (1).

Best regards, Vitalii Tymchyshyn

On Tue, Jan 3, 2017, 5:32 AM diogopedreira <
diogo.emanuel.pedreira@celfocus.com> wrote:

> Yes, I don't want the URL to be encoded. I'm using jetty.
>
> Please find below an example of my routes configuration and startup log.
>
>         from("jetty:http://0.0.0.0:8080/xpto/#/accounts)
>
> .to("
> http://localhost/xpto/QK7SYGTE2#/screens/170375275/?bridgeEndpoint=true&throwExceptionOnFailure=false
> ");
>
>
> 2017-01-02 18:46:25.402 DEBUG 13824 --- [           main]
> org.apache.camel.impl.DefaultComponent   : Creating endpoint
> uri=[jetty://http://0.0.0.0:8080/xpto/%23/accounts],
> path=[http://0.0.0.0:8080/xpto/#/accounts]
> 2017-01-02 18:46:25.403 DEBUG 13824 --- [           main]
> o.a.camel.spring.SpringCamelContext      :
> jetty://http://0.0.0.0:8080/xpto/%23/accounts converted to endpoint:
> Endpoint[jetty:http://0.0.0.0:8080/xpto/%23/accounts] by component:
> org.apache.camel.component.jetty9.JettyHttpComponent9@272afff9
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Special-characters-in-URL-s-tp5792076p5792088.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message