Hi Richard,
Indeed, the { character needs to be escaped. check section 2.4.3 of the spec
at
http://www.ietf.org/rfc/rfc2396.txt, specifically:
------
Other characters are excluded because gateways and other transport
agents are known to sometimes modify such characters, or they are
used as delimiters.
unwise = "{" | "}" | "|" | "\" |
"^" | "[" | "]" | "`"
Data corresponding to excluded characters must be escaped in order to
be properly represented within a URI.
------
Thanks
-Vincent
On 22 Jan 2014 at 14:28:42, Richard Hierlmeier
(rhierlmeier@googlemail.com(mailto:rhierlmeier@googlemail.com)) wrote:
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
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 wrote:
I have a Facebook like Button on my xwiki instance. When clicking on the button in
facebook the following link is created:
http:///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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users