I have only recently noticed that when I use Stripes layout tags, I am
getting unexpected U+0000 characters added to the pages where the stripes
layout tags were. In a hex editor, these characters are 00.
You can see (or actually you need an editor like emacs to kind of see)
these characters if you look at the page source for
http://www.gaiaguide.info/do/Hierarchy
That page is running on Stripes 1.5.6 but in a test environment I can
replicate the generation of these characters with the latest versions of
Stripes and Freemarker.
These characters are causing me problems with page scrapers like that used
by Facebook, which encounter the characters and then decide that they
cannot see the page (and so links shared from the site get no useful
information added to them by Facebook).
You can see this by feeding the example URL to:
http://developers.facebook.com/tools/debug
and to:
http://html5.validator.nu/
This HTML5 validator picks out the U+0000 characters clearly.
A working page on the same server is at http://www.gaiaguide.info/Test.jsp
Any pointers to the parts of the Stripes source where I can start to look
for how these are being generated would be much appreciated.
Thanks
Geoff Shuetrim
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users