Hi Vincent,

I get the following exception:

java.net.URISyntaxException: Illegal character in query at index 160: http://???????????????????????????/bin/ref_map/Main/WebHome?fb_action_ids=22334241213413241&fb_action_types=og.likes&fb_source=feed_opengraph&action_object_map={%22334241213413241%22%3A211180592403908}&action_type_map={%22334241213413241%22%3A%22og.likes%22}&action_ref_map=[]
        at java.net.URI$Parser.fail(URI.java:2829)
        at java.net.URI$Parser.checkChars(URI.java:3002)
        at java.net.URI$Parser.parseHierarchical(URI.java:3092)
        at java.net.URI$Parser.parse(URI.java:3034)
        at

It's the { character after action_type_map.

Do I have a character encoding problem?

The XWiki instance is running in tomcat behind a Apache http instance. It is connection via mod_proxy and ajp. Here is my Apache configuration:

ProxyPreserveHost On
ProxyPass /  ajp://localhost:9080/
ProxyPassReverse / http://???????????????????????????/

Here ist the ajp connector configuration from server.conf

<Connector port="9008" protocol="AJP/1.3" redirectPort="8443" maxThreads="20" URIEncoding="UTF-8"/>


Thank you

   Richard


Am 22.01.2014 13:54, schrieb Vincent Massol:
Hi Richard,

On 21 Jan 2014, at 21:07, Richard Hierlmeier <[email protected]> wrote:


I have a Facebook like Button on my xwiki instance. When clicking on the button 
in facebook the following link is created:

http://<mywiki>/bin/view/Main/Sample?fb_action_ids=22334241213413241&fb_action_types=og.likes&fb_source=feed_opengraph&action_object_map={%22334241213413241%22%3A211180592403908}&action_type_map={%22334241213413241%22%3A%22og.likes%22}&action_ref_map=[]

However XWiki can not handle this link correctly. When clicking on it I get the 
following error message (it's in german language):

Hinweis

Während der Verarbeitung Ihrer Anfrage trat ein Problem auf. Bitte
verständigen Sie den Webmaster, falls der Fehler erneut auftritt.

How can I solve this problem?

I don’t see any reason why XWiki would care about anything put after the ? 
unless it contains a parameter that xwiki uses (like “rev”).

What error do you get in the xwiki logs?

Thanks
-Vincent

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to