You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Pieter Maes -- Maescool <pi...@aslpage.be> on 2010/02/11 23:22:00 UTC
html_sanitize is not defined
Hi,
When testing the beta5 release (from the tags in svn) i stumbled upon
this error
When grepping where it was used
features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
html_sanitize(tabName);
features/src/main/javascript/features/minimessage/minimessage.js:
td.innerHTML = html_sanitize(message);
But it was nowhere defined?!
it has been inserted after the 1.0.0 release (according to what i see).
Thanks
--
Pieter Maes
Re: html_sanitize is not defined
Posted by "Jacky Wang (王超)" <ch...@google.com>.
It seems like we're using the same command line...
My repository says:
Revision / Author: 933501 lindner
Last commit revision: 933487 14:19:28, 2010/04/13
On Tue, Apr 13, 2010 at 4:03 PM, Evgeny Bogdanov <ev...@epfl.ch>wrote:
> Hi Jacky,
>
> just noticed that you say revision is 933501
>
> I get shindig from here: svn co
> http://svn.apache.org/repos/asf/shindig/trunk/ .
> And the latest revision is 933444
>
> Could you please explain how to get another branch?
> Best,
> Evgeny
>
>
> On 13.04.10 09:23, Jacky Wang (王超) wrote:
>
>> Hi Pieter,
>>
>> Sorry for the late reply.
>>
>> I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml]
>> against
>> the latest version of PHP Shindig, which is r933501. And it works fine.
>>
>> For PHP Shindig setup, you may like to refer to the site
>> http://code.google.com/p/partuza/, which is setup by Chris.
>>
>> Partuza is a sample SNS site which hosts gadget using PHP Shindig. The
>> relationship between Partuza and PHP Shindig is like Google Orkut and Java
>> Shindig.
>>
>> Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
>> which you may find useful.
>> - Shindig: http://www.chabotc.com/guides/shindig_install/
>> - Partuza: http://www.chabotc.com/guides/partuza_install/
>>
>> Please feel free to ping me back - and we're more than happy to help. :)
>>
>> Regards,
>> Jacky
>>
>> On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
>> <pi...@aslpage.be>wrote:
>>
>>
>>
>>> Any update? or are the guys responsible on a deserved holiday? :)
>>>
>>> Op 17/03/10 23:45, John Hjelmstad schreef:
>>>
>>>
>>>> Aha! I keep forgetting to ask which Shindig you're using. My expertise
>>>>
>>>>
>>> ends
>>>
>>>
>>>> at the Java version. Jacky? Chris?
>>>>
>>>> On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
>>>> <pi...@aslpage.be>wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> uhm features dir is there and looks pretty loaded..
>>>>>
>>>>> my way of building:
>>>>> checked out last trunk version
>>>>> went to the trunk/php dir did ./make-release.sh
>>>>> then unpacked one of the packages it made in the webdir
>>>>>
>>>>> i guess that is the normal way to make a php release?
>>>>>
>>>>> note: default setup: unpacking the downloaded file in the webdir..
>>>>>
>>>>> Op 17/03/10 23:33, John Hjelmstad schreef:
>>>>>
>>>>>
>>>>>
>>>>>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
>>>>>> features dir isn't being built or loaded correctly for you.
>>>>>>
>>>>>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
>>>>>> <pi...@aslpage.be>wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Trunk version 924505
>>>>>>>
>>>>>>> gadgets is not defined
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>>
>>>
>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 7)
>>>>>>>
>>>>>>> opensocial is not defined
>>>>>>> var
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>>>
>>>
>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 138)
>>>>>>>
>>>>>>> gadgets is not defined
>>>>>>> <script
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>>>>>
>>>>>
>>>>>
>>>>>> ifr?ur...0.8.xml (row 167)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Sounds like Beta5 might be broken w/r/t this. Can you use
>>>>>>>> Beta6/head?
>>>>>>>>
>>>>>>>> --j
>>>>>>>>
>>>>>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi again,
>>>>>>>>>
>>>>>>>>> I just tried on a clean default setup with the beta5 download
>>>>>>>>> when i go to
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>>
>>>
>>>>
>>>>>
>>>>>>
>>>>>>>
>>>>>>>> i get "html_sanitize is not defined"
>>>>>>>>> so.. what goes wrong?
>>>>>>>>>
>>>>>>>>> Best regards
>>>>>>>>> Pieter Maes
>>>>>>>>>
>>>>>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> yep.. i can fetch it..
>>>>>>>>>>> and i found the code you just pasted.. so it's there..
>>>>>>>>>>> maybe i need to clean a cache?\
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>>>>>>
>>>>>>>>>> # rm -rf /tmp/shindig
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
--
Best Regards,
Jacky Wang
(Office) +86-10-6250-3316
(Mobile) +86-1381-0018-677
Kejian Building, Tsinghua Science Park Building 6
No.1 Zhongguancun East Road, Haidian District
Beijing P.R.China 100084
Re: html_sanitize is not defined
Posted by Evgeny Bogdanov <ev...@epfl.ch>.
Hi Jacky,
just noticed that you say revision is 933501
I get shindig from here: svn co
http://svn.apache.org/repos/asf/shindig/trunk/ .
And the latest revision is 933444
Could you please explain how to get another branch?
Best,
Evgeny
On 13.04.10 09:23, Jacky Wang (王超) wrote:
> Hi Pieter,
>
> Sorry for the late reply.
>
> I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml] against
> the latest version of PHP Shindig, which is r933501. And it works fine.
>
> For PHP Shindig setup, you may like to refer to the site
> http://code.google.com/p/partuza/, which is setup by Chris.
>
> Partuza is a sample SNS site which hosts gadget using PHP Shindig. The
> relationship between Partuza and PHP Shindig is like Google Orkut and Java
> Shindig.
>
> Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
> which you may find useful.
> - Shindig: http://www.chabotc.com/guides/shindig_install/
> - Partuza: http://www.chabotc.com/guides/partuza_install/
>
> Please feel free to ping me back - and we're more than happy to help. :)
>
> Regards,
> Jacky
>
> On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> Any update? or are the guys responsible on a deserved holiday? :)
>>
>> Op 17/03/10 23:45, John Hjelmstad schreef:
>>
>>> Aha! I keep forgetting to ask which Shindig you're using. My expertise
>>>
>> ends
>>
>>> at the Java version. Jacky? Chris?
>>>
>>> On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
>>> <pi...@aslpage.be>wrote:
>>>
>>>
>>>
>>>> uhm features dir is there and looks pretty loaded..
>>>>
>>>> my way of building:
>>>> checked out last trunk version
>>>> went to the trunk/php dir did ./make-release.sh
>>>> then unpacked one of the packages it made in the webdir
>>>>
>>>> i guess that is the normal way to make a php release?
>>>>
>>>> note: default setup: unpacking the downloaded file in the webdir..
>>>>
>>>> Op 17/03/10 23:33, John Hjelmstad schreef:
>>>>
>>>>
>>>>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
>>>>> features dir isn't being built or loaded correctly for you.
>>>>>
>>>>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
>>>>> <pi...@aslpage.be>wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Trunk version 924505
>>>>>>
>>>>>> gadgets is not defined
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>
>>>>
>>>>>> ifr?ur...0.8.xml (row 7)
>>>>>>
>>>>>> opensocial is not defined
>>>>>> var
>>>>>>
>>>>>>
>>>>>>
>>>>
>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>>
>>>>
>>>>>> ifr?ur...0.8.xml (row 138)
>>>>>>
>>>>>> gadgets is not defined
>>>>>> <script
>>>>>>
>>>>>>
>>>> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>>>>
>>>>
>>>>>> ifr?ur...0.8.xml (row 167)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
>>>>>>>
>>>>>>> --j
>>>>>>>
>>>>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi again,
>>>>>>>>
>>>>>>>> I just tried on a clean default setup with the beta5 download
>>>>>>>> when i go to
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>
>>>>
>>>>>>
>>>>>>>> i get "html_sanitize is not defined"
>>>>>>>> so.. what goes wrong?
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>> Pieter Maes
>>>>>>>>
>>>>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> yep.. i can fetch it..
>>>>>>>>>> and i found the code you just pasted.. so it's there..
>>>>>>>>>> maybe i need to clean a cache?\
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>>>>>
>>>>>>>>> # rm -rf /tmp/shindig
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>
>
Re: html_sanitize is not defined
Posted by "Jacky Wang (王超)" <ch...@google.com>.
Hi Pieter,
Sorry for the late reply.
I just run the gadget [http://osda.appspot.com/gadget/osda-0.8.xml] against
the latest version of PHP Shindig, which is r933501. And it works fine.
For PHP Shindig setup, you may like to refer to the site
http://code.google.com/p/partuza/, which is setup by Chris.
Partuza is a sample SNS site which hosts gadget using PHP Shindig. The
relationship between Partuza and PHP Shindig is like Google Orkut and Java
Shindig.
Chris wrote 2 great tutorials for how to setup PHP Shindig and Partuza,
which you may find useful.
- Shindig: http://www.chabotc.com/guides/shindig_install/
- Partuza: http://www.chabotc.com/guides/partuza_install/
Please feel free to ping me back - and we're more than happy to help. :)
Regards,
Jacky
On Tue, Mar 23, 2010 at 7:22 AM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
>
> Any update? or are the guys responsible on a deserved holiday? :)
>
> Op 17/03/10 23:45, John Hjelmstad schreef:
> > Aha! I keep forgetting to ask which Shindig you're using. My expertise
> ends
> > at the Java version. Jacky? Chris?
> >
> > On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
> > <pi...@aslpage.be>wrote:
> >
> >
> >> uhm features dir is there and looks pretty loaded..
> >>
> >> my way of building:
> >> checked out last trunk version
> >> went to the trunk/php dir did ./make-release.sh
> >> then unpacked one of the packages it made in the webdir
> >>
> >> i guess that is the normal way to make a php release?
> >>
> >> note: default setup: unpacking the downloaded file in the webdir..
> >>
> >> Op 17/03/10 23:33, John Hjelmstad schreef:
> >>
> >>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
> >>> features dir isn't being built or loaded correctly for you.
> >>>
> >>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
> >>> <pi...@aslpage.be>wrote:
> >>>
> >>>
> >>>
> >>>> Trunk version 924505
> >>>>
> >>>> gadgets is not defined
> >>>>
> >>>>
> >>>>
> >>
> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
> >>
> >>>> ifr?ur...0.8.xml (row 7)
> >>>>
> >>>> opensocial is not defined
> >>>> var
> >>>>
> >>>>
> >>
> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
> >>
> >>>> ifr?ur...0.8.xml (row 138)
> >>>>
> >>>> gadgets is not defined
> >>>> <script
> >>>>
> >> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
> >>
> >>>> ifr?ur...0.8.xml (row 167)
> >>>>
> >>>>
> >>>>
> >>>> Op 17/03/10 23:15, John Hjelmstad schreef:
> >>>>
> >>>>
> >>>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
> >>>>>
> >>>>> --j
> >>>>>
> >>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
> >>>>> <pi...@aslpage.be>wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Hi again,
> >>>>>>
> >>>>>> I just tried on a clean default setup with the beta5 download
> >>>>>> when i go to
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>
> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
> >>
> >>>>
> >>>>>> i get "html_sanitize is not defined"
> >>>>>> so.. what goes wrong?
> >>>>>>
> >>>>>> Best regards
> >>>>>> Pieter Maes
> >>>>>>
> >>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> >>>>>>> <pi...@aslpage.be>wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> yep.. i can fetch it..
> >>>>>>>> and i found the code you just pasted.. so it's there..
> >>>>>>>> maybe i need to clean a cache?\
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>> if you're on *nix and using the standard file cache back-end:
> >>>>>>>
> >>>>>>> # rm -rf /tmp/shindig
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>
--
Best Regards,
Jacky Wang
(Office) +86-10-6250-3316
(Mobile) +86-1381-0018-677
Kejian Building, Tsinghua Science Park Building 6
No.1 Zhongguancun East Road, Haidian District
Beijing P.R.China 100084
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
Any update? or are the guys responsible on a deserved holiday? :)
Op 17/03/10 23:45, John Hjelmstad schreef:
> Aha! I keep forgetting to ask which Shindig you're using. My expertise ends
> at the Java version. Jacky? Chris?
>
> On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> uhm features dir is there and looks pretty loaded..
>>
>> my way of building:
>> checked out last trunk version
>> went to the trunk/php dir did ./make-release.sh
>> then unpacked one of the packages it made in the webdir
>>
>> i guess that is the normal way to make a php release?
>>
>> note: default setup: unpacking the downloaded file in the webdir..
>>
>> Op 17/03/10 23:33, John Hjelmstad schreef:
>>
>>> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
>>> features dir isn't being built or loaded correctly for you.
>>>
>>> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
>>> <pi...@aslpage.be>wrote:
>>>
>>>
>>>
>>>> Trunk version 924505
>>>>
>>>> gadgets is not defined
>>>>
>>>>
>>>>
>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>
>>>> ifr?ur...0.8.xml (row 7)
>>>>
>>>> opensocial is not defined
>>>> var
>>>>
>>>>
>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>>
>>>> ifr?ur...0.8.xml (row 138)
>>>>
>>>> gadgets is not defined
>>>> <script
>>>>
>> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>>
>>>> ifr?ur...0.8.xml (row 167)
>>>>
>>>>
>>>>
>>>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>>>
>>>>
>>>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
>>>>>
>>>>> --j
>>>>>
>>>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>>>> <pi...@aslpage.be>wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi again,
>>>>>>
>>>>>> I just tried on a clean default setup with the beta5 download
>>>>>> when i go to
>>>>>>
>>>>>>
>>>>>>
>>>>
>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>
>>>>
>>>>>> i get "html_sanitize is not defined"
>>>>>> so.. what goes wrong?
>>>>>>
>>>>>> Best regards
>>>>>> Pieter Maes
>>>>>>
>>>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>>>> <pi...@aslpage.be>wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> yep.. i can fetch it..
>>>>>>>> and i found the code you just pasted.. so it's there..
>>>>>>>> maybe i need to clean a cache?\
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>>>
>>>>>>> # rm -rf /tmp/shindig
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
Re: html_sanitize is not defined
Posted by John Hjelmstad <fa...@google.com>.
Aha! I keep forgetting to ask which Shindig you're using. My expertise ends
at the Java version. Jacky? Chris?
On Wed, Mar 17, 2010 at 3:39 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> uhm features dir is there and looks pretty loaded..
>
> my way of building:
> checked out last trunk version
> went to the trunk/php dir did ./make-release.sh
> then unpacked one of the packages it made in the webdir
>
> i guess that is the normal way to make a php release?
>
> note: default setup: unpacking the downloaded file in the webdir..
>
> Op 17/03/10 23:33, John Hjelmstad schreef:
> > Does your rendered gadget have _any_ JavaScript in it? Sounds like the
> > features dir isn't being built or loaded correctly for you.
> >
> > On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
> > <pi...@aslpage.be>wrote:
> >
> >
> >> Trunk version 924505
> >>
> >> gadgets is not defined
> >>
> >>
> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
> >>
> >> ifr?ur...0.8.xml (row 7)
> >>
> >> opensocial is not defined
> >> var
> >>
> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
> >> ifr?ur...0.8.xml (row 138)
> >>
> >> gadgets is not defined
> >> <script
> type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
> >> ifr?ur...0.8.xml (row 167)
> >>
> >>
> >>
> >> Op 17/03/10 23:15, John Hjelmstad schreef:
> >>
> >>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
> >>>
> >>> --j
> >>>
> >>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
> >>> <pi...@aslpage.be>wrote:
> >>>
> >>>
> >>>
> >>>> Hi again,
> >>>>
> >>>> I just tried on a clean default setup with the beta5 download
> >>>> when i go to
> >>>>
> >>>>
> >>
> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
> >>
> >>>> i get "html_sanitize is not defined"
> >>>> so.. what goes wrong?
> >>>>
> >>>> Best regards
> >>>> Pieter Maes
> >>>>
> >>>> Op 12/02/10 10:25, Chris Chabot schreef:
> >>>>
> >>>>
> >>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> >>>>> <pi...@aslpage.be>wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> yep.. i can fetch it..
> >>>>>> and i found the code you just pasted.. so it's there..
> >>>>>> maybe i need to clean a cache?\
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> if you're on *nix and using the standard file cache back-end:
> >>>>>
> >>>>> # rm -rf /tmp/shindig
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
uhm features dir is there and looks pretty loaded..
my way of building:
checked out last trunk version
went to the trunk/php dir did ./make-release.sh
then unpacked one of the packages it made in the webdir
i guess that is the normal way to make a php release?
note: default setup: unpacking the downloaded file in the webdir..
Op 17/03/10 23:33, John Hjelmstad schreef:
> Does your rendered gadget have _any_ JavaScript in it? Sounds like the
> features dir isn't being built or loaded correctly for you.
>
> On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> Trunk version 924505
>>
>> gadgets is not defined
>>
>> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>>
>> ifr?ur...0.8.xml (row 7)
>>
>> opensocial is not defined
>> var
>> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
>> ifr?ur...0.8.xml (row 138)
>>
>> gadgets is not defined
>> <script type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
>> ifr?ur...0.8.xml (row 167)
>>
>>
>>
>> Op 17/03/10 23:15, John Hjelmstad schreef:
>>
>>> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
>>>
>>> --j
>>>
>>> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
>>> <pi...@aslpage.be>wrote:
>>>
>>>
>>>
>>>> Hi again,
>>>>
>>>> I just tried on a clean default setup with the beta5 download
>>>> when i go to
>>>>
>>>>
>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>>
>>>> i get "html_sanitize is not defined"
>>>> so.. what goes wrong?
>>>>
>>>> Best regards
>>>> Pieter Maes
>>>>
>>>> Op 12/02/10 10:25, Chris Chabot schreef:
>>>>
>>>>
>>>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>>>> <pi...@aslpage.be>wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> yep.. i can fetch it..
>>>>>> and i found the code you just pasted.. so it's there..
>>>>>> maybe i need to clean a cache?\
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> if you're on *nix and using the standard file cache back-end:
>>>>>
>>>>> # rm -rf /tmp/shindig
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
Re: html_sanitize is not defined
Posted by John Hjelmstad <fa...@google.com>.
Does your rendered gadget have _any_ JavaScript in it? Sounds like the
features dir isn't being built or loaded correctly for you.
On Wed, Mar 17, 2010 at 3:26 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> Trunk version 924505
>
> gadgets is not defined
>
> gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
>
> ifr?ur...0.8.xml (row 7)
>
> opensocial is not defined
> var
> dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
> ifr?ur...0.8.xml (row 138)
>
> gadgets is not defined
> <script type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
> ifr?ur...0.8.xml (row 167)
>
>
>
> Op 17/03/10 23:15, John Hjelmstad schreef:
> > Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
> >
> > --j
> >
> > On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
> > <pi...@aslpage.be>wrote:
> >
> >
> >> Hi again,
> >>
> >> I just tried on a clean default setup with the beta5 download
> >> when i go to
> >>
> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
> >> i get "html_sanitize is not defined"
> >> so.. what goes wrong?
> >>
> >> Best regards
> >> Pieter Maes
> >>
> >> Op 12/02/10 10:25, Chris Chabot schreef:
> >>
> >>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> >>> <pi...@aslpage.be>wrote:
> >>>
> >>>
> >>>
> >>>> yep.. i can fetch it..
> >>>> and i found the code you just pasted.. so it's there..
> >>>> maybe i need to clean a cache?\
> >>>>
> >>>>
> >>>>
> >>> if you're on *nix and using the standard file cache back-end:
> >>>
> >>> # rm -rf /tmp/shindig
> >>>
> >>>
> >>>
> >>
> >
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
Trunk version 924505
gadgets is not defined
gadgets.config.init({"core.util":[],"o...p.put","http.post","http.delete"]}});
ifr?ur...0.8.xml (row 7)
opensocial is not defined
var
dafos={};dafos.bind=function(D,E){...t(dafos.onViewerSettingsAvailable)});
ifr?ur...0.8.xml (row 138)
gadgets is not defined
<script type="text/javascript">gadgets.util.runOnLoadHandlers();</script>
ifr?ur...0.8.xml (row 167)
Op 17/03/10 23:15, John Hjelmstad schreef:
> Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
>
> --j
>
> On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> Hi again,
>>
>> I just tried on a clean default setup with the beta5 download
>> when i go to
>> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
>> i get "html_sanitize is not defined"
>> so.. what goes wrong?
>>
>> Best regards
>> Pieter Maes
>>
>> Op 12/02/10 10:25, Chris Chabot schreef:
>>
>>> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
>>> <pi...@aslpage.be>wrote:
>>>
>>>
>>>
>>>> yep.. i can fetch it..
>>>> and i found the code you just pasted.. so it's there..
>>>> maybe i need to clean a cache?\
>>>>
>>>>
>>>>
>>> if you're on *nix and using the standard file cache back-end:
>>>
>>> # rm -rf /tmp/shindig
>>>
>>>
>>>
>>
>
Re: html_sanitize is not defined
Posted by John Hjelmstad <fa...@google.com>.
Sounds like Beta5 might be broken w/r/t this. Can you use Beta6/head?
--j
On Wed, Mar 17, 2010 at 3:00 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> Hi again,
>
> I just tried on a clean default setup with the beta5 download
> when i go to
> http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
> i get "html_sanitize is not defined"
> so.. what goes wrong?
>
> Best regards
> Pieter Maes
>
> Op 12/02/10 10:25, Chris Chabot schreef:
> > On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> > <pi...@aslpage.be>wrote:
> >
> >
> >> yep.. i can fetch it..
> >> and i found the code you just pasted.. so it's there..
> >> maybe i need to clean a cache?\
> >>
> >>
> > if you're on *nix and using the standard file cache back-end:
> >
> > # rm -rf /tmp/shindig
> >
> >
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
Hi again,
I just tried on a clean default setup with the beta5 download
when i go to
http://shindig/gadgets/ifr?url=http://osda.appspot.com/gadget/osda-0.8.xml
i get "html_sanitize is not defined"
so.. what goes wrong?
Best regards
Pieter Maes
Op 12/02/10 10:25, Chris Chabot schreef:
> On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> yep.. i can fetch it..
>> and i found the code you just pasted.. so it's there..
>> maybe i need to clean a cache?\
>>
>>
> if you're on *nix and using the standard file cache back-end:
>
> # rm -rf /tmp/shindig
>
>
Re: html_sanitize is not defined
Posted by Chris Chabot <ch...@google.com>.
On Fri, Feb 12, 2010 at 2:40 AM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
>
> yep.. i can fetch it..
> and i found the code you just pasted.. so it's there..
> maybe i need to clean a cache?\
>
if you're on *nix and using the standard file cache back-end:
# rm -rf /tmp/shindig
Re: html_sanitize is not defined
Posted by ๏̯͡๏ Jasvir Nagra <ja...@google.com>.
As long as you're using the latest caja, this scheme should work fine. Of
course if you're using a different version of caja, there'll be version skew
issues if you're hard linking to the latest html-sanitizer. That said,
html-sanitizer api and code has been pretty stable for the last year.
Jasvir
On Fri, Feb 12, 2010 at 12:40 PM, Pieter Maes -- Maescool <pieter@aslpage.be
> wrote:
>
> yep.. i can fetch it..
> and i found the code you just pasted.. so it's there..
> maybe i need to clean a cache?
> you guys just can test with the osda app
> http://osda.appspot.com/gadget/osda-0.8.xml
>
> Paul Lindner schreef:
> > Since PHP doesn't have the caja jar in the classpath the res:// URL is
> > converted into an http URL
> >
> > // Make html-santitization work see SHINDIG-346
> > if ($content ==
> > 'res://com/google/caja/plugin/html-sanitizer-minified.js') {
> > $content= '
> >
> http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/plugin/html-sanitizer.js
> > ';
> > }
> >
> > Are you able to fetch that URL from the host where you're running PHP
> > shindig?
> >
> >
> >
> > 2010/2/11 ๏̯͡๏ Jasvir Nagra <ja...@google.com>
> >
> >
> >> It ought to be fetched by maven and stashed in your maven
> >> cache ~/.m2/repository/caja/caja/r3950/caja-r3950.jar where 3950 is the
> >> version of caja its pulling. I am not sure how the php version unpacks
> this
> >> file to get at html-sanitizer.js
> >>
> >> On Thu, Feb 11, 2010 at 4:20 PM, Pieter Maes -- Maescool <
> >> pieter@aslpage.be> wrote:
> >>
> >>
> >>> Ok.. i updated the feature.xml but still nothing
> >>> Also, i use the php installiation
> >>> i have been looking arround for the jar, but i don't see it?
> >>>
> >>>
> >>>
> >>>
> >>> John Hjelmstad schreef:
> >>>
> >>> Sounds good Pieter - be sure to check whatever Caja JAR is imported for
> >>> files similarly named (jar tf caja.jar | grep -i html | grep -i
> sanitize) in
> >>> case there's just a renaming issue.
> >>>
> >>> --j
> >>>
> >>> On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool <
> >>> pieter@aslpage.be> wrote:
> >>>
> >>>
> >>>> Hi John,
> >>>>
> >>>> Thanks for the hint!
> >>>> the beta5 does not contain it, it is in the trunk ;)
> >>>> i'll copy the core/featrue.xml from the trunk to my installation :)
> >>>> Maybe it should get in beta6 cause else osda doesn't work
> >>>>
> >>>>
> >>>>
> >>>> John Hjelmstad schreef:
> >>>>
> >>>> Hi Pieter:
> >>>>
> >>>> I don't recall what exactly made it to BETA5, but this comes from a
> Caja
> >>>> file dependency in the "core" JS feature.
> >>>>
> >>>> From core/feature.xml:
> >>>> <gadget>
> >>>> <!-- for html_sanitize -->
> >>>> <script
> >>>>
> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
> >>>> </gadget>
> >>>>
> >>>> Hope this helps you track the particulars down.
> >>>>
> >>>> --j
> >>>>
> >>>> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool<
> pieter@aslpage.be> <pi...@aslpage.be>wrote:
> >>>>
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> When testing the beta5 release (from the tags in svn) i stumbled upon
> >>>> this error
> >>>> When grepping where it was used
> >>>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML
> =
> >>>> html_sanitize(tabName);
> >>>> features/src/main/javascript/features/minimessage/minimessage.js:
> >>>> td.innerHTML = html_sanitize(message);
> >>>>
> >>>> But it was nowhere defined?!
> >>>>
> >>>> it has been inserted after the 1.0.0 release (according to what i
> see).
> >>>>
> >>>> Thanks
> >>>>
> >>>> --
> >>>> Pieter Maes
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >
> >
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
yep.. i can fetch it..
and i found the code you just pasted.. so it's there..
maybe i need to clean a cache?
you guys just can test with the osda app
http://osda.appspot.com/gadget/osda-0.8.xml
Paul Lindner schreef:
> Since PHP doesn't have the caja jar in the classpath the res:// URL is
> converted into an http URL
>
> // Make html-santitization work see SHINDIG-346
> if ($content ==
> 'res://com/google/caja/plugin/html-sanitizer-minified.js') {
> $content= '
> http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/plugin/html-sanitizer.js
> ';
> }
>
> Are you able to fetch that URL from the host where you're running PHP
> shindig?
>
>
>
> 2010/2/11 ๏̯͡๏ Jasvir Nagra <ja...@google.com>
>
>
>> It ought to be fetched by maven and stashed in your maven
>> cache ~/.m2/repository/caja/caja/r3950/caja-r3950.jar where 3950 is the
>> version of caja its pulling. I am not sure how the php version unpacks this
>> file to get at html-sanitizer.js
>>
>> On Thu, Feb 11, 2010 at 4:20 PM, Pieter Maes -- Maescool <
>> pieter@aslpage.be> wrote:
>>
>>
>>> Ok.. i updated the feature.xml but still nothing
>>> Also, i use the php installiation
>>> i have been looking arround for the jar, but i don't see it?
>>>
>>>
>>>
>>>
>>> John Hjelmstad schreef:
>>>
>>> Sounds good Pieter - be sure to check whatever Caja JAR is imported for
>>> files similarly named (jar tf caja.jar | grep -i html | grep -i sanitize) in
>>> case there's just a renaming issue.
>>>
>>> --j
>>>
>>> On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool <
>>> pieter@aslpage.be> wrote:
>>>
>>>
>>>> Hi John,
>>>>
>>>> Thanks for the hint!
>>>> the beta5 does not contain it, it is in the trunk ;)
>>>> i'll copy the core/featrue.xml from the trunk to my installation :)
>>>> Maybe it should get in beta6 cause else osda doesn't work
>>>>
>>>>
>>>>
>>>> John Hjelmstad schreef:
>>>>
>>>> Hi Pieter:
>>>>
>>>> I don't recall what exactly made it to BETA5, but this comes from a Caja
>>>> file dependency in the "core" JS feature.
>>>>
>>>> From core/feature.xml:
>>>> <gadget>
>>>> <!-- for html_sanitize -->
>>>> <script
>>>> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
>>>> </gadget>
>>>>
>>>> Hope this helps you track the particulars down.
>>>>
>>>> --j
>>>>
>>>> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool<pi...@aslpage.be> <pi...@aslpage.be>wrote:
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> When testing the beta5 release (from the tags in svn) i stumbled upon
>>>> this error
>>>> When grepping where it was used
>>>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
>>>> html_sanitize(tabName);
>>>> features/src/main/javascript/features/minimessage/minimessage.js:
>>>> td.innerHTML = html_sanitize(message);
>>>>
>>>> But it was nowhere defined?!
>>>>
>>>> it has been inserted after the 1.0.0 release (according to what i see).
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Pieter Maes
>>>>
>>>>
>>>>
>>>>
>>>>
>
>
Re: html_sanitize is not defined
Posted by Paul Lindner <li...@inuus.com>.
Since PHP doesn't have the caja jar in the classpath the res:// URL is
converted into an http URL
// Make html-santitization work see SHINDIG-346
if ($content ==
'res://com/google/caja/plugin/html-sanitizer-minified.js') {
$content= '
http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/plugin/html-sanitizer.js
';
}
Are you able to fetch that URL from the host where you're running PHP
shindig?
2010/2/11 ๏̯͡๏ Jasvir Nagra <ja...@google.com>
> It ought to be fetched by maven and stashed in your maven
> cache ~/.m2/repository/caja/caja/r3950/caja-r3950.jar where 3950 is the
> version of caja its pulling. I am not sure how the php version unpacks this
> file to get at html-sanitizer.js
>
> On Thu, Feb 11, 2010 at 4:20 PM, Pieter Maes -- Maescool <
> pieter@aslpage.be> wrote:
>
>> Ok.. i updated the feature.xml but still nothing
>> Also, i use the php installiation
>> i have been looking arround for the jar, but i don't see it?
>>
>>
>>
>>
>> John Hjelmstad schreef:
>>
>> Sounds good Pieter - be sure to check whatever Caja JAR is imported for
>> files similarly named (jar tf caja.jar | grep -i html | grep -i sanitize) in
>> case there's just a renaming issue.
>>
>> --j
>>
>> On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool <
>> pieter@aslpage.be> wrote:
>>
>>> Hi John,
>>>
>>> Thanks for the hint!
>>> the beta5 does not contain it, it is in the trunk ;)
>>> i'll copy the core/featrue.xml from the trunk to my installation :)
>>> Maybe it should get in beta6 cause else osda doesn't work
>>>
>>>
>>>
>>> John Hjelmstad schreef:
>>>
>>> Hi Pieter:
>>>
>>> I don't recall what exactly made it to BETA5, but this comes from a Caja
>>> file dependency in the "core" JS feature.
>>>
>>> From core/feature.xml:
>>> <gadget>
>>> <!-- for html_sanitize -->
>>> <script
>>> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
>>> </gadget>
>>>
>>> Hope this helps you track the particulars down.
>>>
>>> --j
>>>
>>> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool<pi...@aslpage.be> <pi...@aslpage.be>wrote:
>>>
>>>
>>>
>>> Hi,
>>>
>>> When testing the beta5 release (from the tags in svn) i stumbled upon
>>> this error
>>> When grepping where it was used
>>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
>>> html_sanitize(tabName);
>>> features/src/main/javascript/features/minimessage/minimessage.js:
>>> td.innerHTML = html_sanitize(message);
>>>
>>> But it was nowhere defined?!
>>>
>>> it has been inserted after the 1.0.0 release (according to what i see).
>>>
>>> Thanks
>>>
>>> --
>>> Pieter Maes
>>>
>>>
>>>
>>>
>>
>
Re: html_sanitize is not defined
Posted by ๏̯͡๏ Jasvir Nagra <ja...@google.com>.
It ought to be fetched by maven and stashed in your maven
cache ~/.m2/repository/caja/caja/r3950/caja-r3950.jar where 3950 is the
version of caja its pulling. I am not sure how the php version unpacks this
file to get at html-sanitizer.js
On Thu, Feb 11, 2010 at 4:20 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> Ok.. i updated the feature.xml but still nothing
> Also, i use the php installiation
> i have been looking arround for the jar, but i don't see it?
>
>
>
>
> John Hjelmstad schreef:
>
> Sounds good Pieter - be sure to check whatever Caja JAR is imported for
> files similarly named (jar tf caja.jar | grep -i html | grep -i sanitize) in
> case there's just a renaming issue.
>
> --j
>
> On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool <
> pieter@aslpage.be> wrote:
>
>> Hi John,
>>
>> Thanks for the hint!
>> the beta5 does not contain it, it is in the trunk ;)
>> i'll copy the core/featrue.xml from the trunk to my installation :)
>> Maybe it should get in beta6 cause else osda doesn't work
>>
>>
>>
>> John Hjelmstad schreef:
>>
>> Hi Pieter:
>>
>> I don't recall what exactly made it to BETA5, but this comes from a Caja
>> file dependency in the "core" JS feature.
>>
>> From core/feature.xml:
>> <gadget>
>> <!-- for html_sanitize -->
>> <script
>> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
>> </gadget>
>>
>> Hope this helps you track the particulars down.
>>
>> --j
>>
>> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool<pi...@aslpage.be> <pi...@aslpage.be>wrote:
>>
>>
>>
>> Hi,
>>
>> When testing the beta5 release (from the tags in svn) i stumbled upon
>> this error
>> When grepping where it was used
>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
>> html_sanitize(tabName);
>> features/src/main/javascript/features/minimessage/minimessage.js:
>> td.innerHTML = html_sanitize(message);
>>
>> But it was nowhere defined?!
>>
>> it has been inserted after the 1.0.0 release (according to what i see).
>>
>> Thanks
>>
>> --
>> Pieter Maes
>>
>>
>>
>>
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
Ok.. i updated the feature.xml but still nothing
Also, i use the php installiation
i have been looking arround for the jar, but i don't see it?
John Hjelmstad schreef:
> Sounds good Pieter - be sure to check whatever Caja JAR is imported
> for files similarly named (jar tf caja.jar | grep -i html | grep -i
> sanitize) in case there's just a renaming issue.
>
> --j
>
> On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool
> <pieter@aslpage.be <ma...@aslpage.be>> wrote:
>
> Hi John,
>
> Thanks for the hint!
> the beta5 does not contain it, it is in the trunk ;)
> i'll copy the core/featrue.xml from the trunk to my installation :)
> Maybe it should get in beta6 cause else osda doesn't work
>
>
>
> John Hjelmstad schreef:
>> Hi Pieter:
>>
>> I don't recall what exactly made it to BETA5, but this comes from a Caja
>> file dependency in the "core" JS feature.
>>
>> From core/feature.xml:
>> <gadget>
>> <!-- for html_sanitize -->
>> <script
>> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
>> </gadget>
>>
>> Hope this helps you track the particulars down.
>>
>> --j
>>
>> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool
>> <pi...@aslpage.be> <ma...@aslpage.be>wrote:
>>
>>
>>> Hi,
>>>
>>> When testing the beta5 release (from the tags in svn) i stumbled upon
>>> this error
>>> When grepping where it was used
>>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
>>> html_sanitize(tabName);
>>> features/src/main/javascript/features/minimessage/minimessage.js:
>>> td.innerHTML = html_sanitize(message);
>>>
>>> But it was nowhere defined?!
>>>
>>> it has been inserted after the 1.0.0 release (according to what i see).
>>>
>>> Thanks
>>>
>>> --
>>> Pieter Maes
>>>
>>>
>>
>
>
Re: html_sanitize is not defined
Posted by John Hjelmstad <fa...@google.com>.
Sounds good Pieter - be sure to check whatever Caja JAR is imported for
files similarly named (jar tf caja.jar | grep -i html | grep -i sanitize) in
case there's just a renaming issue.
--j
On Thu, Feb 11, 2010 at 3:02 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> Hi John,
>
> Thanks for the hint!
> the beta5 does not contain it, it is in the trunk ;)
> i'll copy the core/featrue.xml from the trunk to my installation :)
> Maybe it should get in beta6 cause else osda doesn't work
>
>
>
> John Hjelmstad schreef:
>
> Hi Pieter:
>
> I don't recall what exactly made it to BETA5, but this comes from a Caja
> file dependency in the "core" JS feature.
>
> From core/feature.xml:
> <gadget>
> <!-- for html_sanitize -->
> <script
> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
> </gadget>
>
> Hope this helps you track the particulars down.
>
> --j
>
> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool<pi...@aslpage.be> <pi...@aslpage.be>wrote:
>
>
>
> Hi,
>
> When testing the beta5 release (from the tags in svn) i stumbled upon
> this error
> When grepping where it was used
> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
> html_sanitize(tabName);
> features/src/main/javascript/features/minimessage/minimessage.js:
> td.innerHTML = html_sanitize(message);
>
> But it was nowhere defined?!
>
> it has been inserted after the 1.0.0 release (according to what i see).
>
> Thanks
>
> --
> Pieter Maes
>
>
>
>
Re: html_sanitize is not defined
Posted by Pieter Maes -- Maescool <pi...@aslpage.be>.
Hi John,
Thanks for the hint!
the beta5 does not contain it, it is in the trunk ;)
i'll copy the core/featrue.xml from the trunk to my installation :)
Maybe it should get in beta6 cause else osda doesn't work
John Hjelmstad schreef:
> Hi Pieter:
>
> I don't recall what exactly made it to BETA5, but this comes from a Caja
> file dependency in the "core" JS feature.
>
> From core/feature.xml:
> <gadget>
> <!-- for html_sanitize -->
> <script
> src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
> </gadget>
>
> Hope this helps you track the particulars down.
>
> --j
>
> On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool
> <pi...@aslpage.be>wrote:
>
>
>> Hi,
>>
>> When testing the beta5 release (from the tags in svn) i stumbled upon
>> this error
>> When grepping where it was used
>> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
>> html_sanitize(tabName);
>> features/src/main/javascript/features/minimessage/minimessage.js:
>> td.innerHTML = html_sanitize(message);
>>
>> But it was nowhere defined?!
>>
>> it has been inserted after the 1.0.0 release (according to what i see).
>>
>> Thanks
>>
>> --
>> Pieter Maes
>>
>>
>
>
Re: html_sanitize is not defined
Posted by John Hjelmstad <fa...@google.com>.
Hi Pieter:
I don't recall what exactly made it to BETA5, but this comes from a Caja
file dependency in the "core" JS feature.
>From core/feature.xml:
<gadget>
<!-- for html_sanitize -->
<script
src="res://com/google/caja/plugin/html-sanitizer-minified.js"></script>
</gadget>
Hope this helps you track the particulars down.
--j
On Thu, Feb 11, 2010 at 2:22 PM, Pieter Maes -- Maescool
<pi...@aslpage.be>wrote:
> Hi,
>
> When testing the beta5 release (from the tags in svn) i stumbled upon
> this error
> When grepping where it was used
> features/src/main/javascript/features/tabs/tabs.js: tab.td_.innerHTML =
> html_sanitize(tabName);
> features/src/main/javascript/features/minimessage/minimessage.js:
> td.innerHTML = html_sanitize(message);
>
> But it was nowhere defined?!
>
> it has been inserted after the 1.0.0 release (according to what i see).
>
> Thanks
>
> --
> Pieter Maes
>