Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)

Issue 1806044: Embed and object tags should not be rewritten, input src and body background should be rewritten (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 6 months ago by Kuntal Loya
Modified:
15 years, 5 months ago
Reviewers:
shindig.remailer, johnfargo, chirag, dev-remailer, anupama.dutta, Jasvir, zhoresh
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

The AbsolutePathReferenceVisitor and the ProxyingContentVisitor should bypass the embed and the object tags for now. The src attribute of input and background attribute of body should be rewritten.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Tags in order, added test for bypassing object by AbsolutePathReferenceVisotor. #

Patch Set 3 : Sync #

Messages

Total messages: 24
Kuntal Loya
15 years, 6 months ago (2010-07-13 13:36:51 UTC) #1
anupama
http://codereview.appspot.com/1806044/diff/1/5 File gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ProxyingVisitor.java (left): http://codereview.appspot.com/1806044/diff/1/5#oldcode45 gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ProxyingVisitor.java:45: "embed", "src", I think you should retain these, in ...
15 years, 6 months ago (2010-07-13 13:53:02 UTC) #2
gagan.goku
http://codereview.appspot.com/1806044/diff/1/2 File common/conf/shindig.properties (right): http://codereview.appspot.com/1806044/diff/1/2#newcode51 common/conf/shindig.properties:51: shindig.content-rewrite.include-tags=link,script,input,body,img,style small nitpick: maybe sort by name everywhere (the ...
15 years, 6 months ago (2010-07-13 13:53:26 UTC) #3
gagan.goku
Although currently in shindig only accel uses ProxyingContentRewriter, there might be other ppl using this ...
15 years, 6 months ago (2010-07-13 14:00:00 UTC) #4
Kuntal Loya
Tags in order, added test for bypassing object by AbsolutePathReferenceVisotor.
15 years, 6 months ago (2010-07-13 14:21:10 UTC) #5
gagan.goku
lgtm
15 years, 6 months ago (2010-07-13 14:31:21 UTC) #6
anupama.dutta
There seem to be other "embed" handling classes such as ProxyingLinkRewriter.java,RewriterTestBase.java, HTMLContentRewriter.java etc. I was ...
15 years, 6 months ago (2010-07-13 14:38:42 UTC) #7
gagan.goku
Nice catch :) Then i think as you suggested, not removing tags from shindig.properties file ...
15 years, 6 months ago (2010-07-13 19:02:19 UTC) #8
Kuntal Loya
From what I noticed, the ProxyingLinkRewriter was not doing any "embed" handling and whatever handling ...
15 years, 6 months ago (2010-07-15 09:12:34 UTC) #9
anupama.dutta
What you said could be fine - but just to be sure, could you anyways ...
15 years, 6 months ago (2010-07-16 09:46:36 UTC) #10
gagan.goku
Ditto. This change is in good enough shape to send to shindig dev@ Ps: Sorry ...
15 years, 6 months ago (2010-07-16 13:36:52 UTC) #11
Kuntal Loya
The AbsolutePathReferenceVisitor and the ProxyingContentVisitor should bypass the embed and the object tags for now. ...
15 years, 6 months ago (2010-07-16 13:38:45 UTC) #12
chirag
The Caja UrlPolicy document has a nice list of HTML attributes that can be rewritten. ...
15 years, 6 months ago (2010-07-16 16:06:49 UTC) #13
Jasvir
In addition to Chirag's pointer, programmatically, if you're looking for html attributes that take URIs, ...
15 years, 6 months ago (2010-07-16 16:20:52 UTC) #14
gagan.goku
Thanks for the pointer Jasvir. Seems we want the attributes with type = URI and ...
15 years, 6 months ago (2010-07-16 16:51:20 UTC) #15
anupama.dutta
On 2010/07/16 16:51:20, gagan.goku wrote: > Thanks for the pointer Jasvir. > Seems we want ...
15 years, 6 months ago (2010-07-20 10:06:32 UTC) #16
Kuntal Loya
Created a JIRA issue - https://issues.apache.org/jira/browse/SHINDIG-1390 On 2010/07/20 10:06:32, anupama.dutta wrote: > On 2010/07/16 16:51:20, ...
15 years, 5 months ago (2010-07-21 06:44:49 UTC) #17
johnfargo
Thanks Kuntal. Jas, any further thoughts on the matter, ie re: browser support vs. spec ...
15 years, 5 months ago (2010-07-26 22:25:34 UTC) #18
jas_nagras.com
On Mon, Jul 26, 2010 at 3:25 PM, <johnfargo@gmail.com> wrote: > Thanks Kuntal. Jas, any ...
15 years, 5 months ago (2010-07-27 08:09:53 UTC) #19
Jasvir
LGTM after discussion on the list. PS. Codereview still gives me: Error fetching http://svn.apache.org/repos/asf/shindig/trunk/java/java/common/conf/shindig.properties?rev=965784: HTTP ...
15 years, 5 months ago (2010-07-30 21:23:07 UTC) #20
johnfargo
On Fri, Jul 30, 2010 at 2:23 PM, <jasvir@gmail.com> wrote: > LGTM after discussion on ...
15 years, 5 months ago (2010-07-30 23:26:24 UTC) #21
Kuntal Loya
On 2010/07/30 23:26:24, johnfargo wrote: > On Fri, Jul 30, 2010 at 2:23 PM, <mailto:jasvir@gmail.com> ...
15 years, 5 months ago (2010-07-31 04:17:02 UTC) #22
johnfargo
LGTM, committing. On 2010/07/31 04:17:02, Kuntal Loya wrote: > On 2010/07/30 23:26:24, johnfargo wrote: > ...
15 years, 5 months ago (2010-08-02 22:39:51 UTC) #23
johnfargo
15 years, 5 months ago (2010-08-02 22:46:25 UTC) #24
Committed as r981700.

On 2010/08/02 22:39:51, johnfargo wrote:
> LGTM, committing.
> 
> On 2010/07/31 04:17:02, Kuntal Loya wrote:
> > On 2010/07/30 23:26:24, johnfargo wrote:
> > > On Fri, Jul 30, 2010 at 2:23 PM, <mailto:jasvir@gmail.com> wrote:
> > > 
> > > > LGTM after discussion on the list.
> > > >
> > > > PS. Codereview still gives me:
> > > > Error fetching
> > > >
> > > >
> > >
> >
>
http://svn.apache.org/repos/asf/shindig/trunk/java/java/common/conf/shindig.p...
> > > > :
> > > > HTTP status 404
> > > >
> > > >
> > > Source "Base" is set incorrectly.
> > 
> > You were right, Updated it. Diffs are working now.
> > 
> > > 
> > > 
> > > >
> > > > http://codereview.appspot.com/1806044/show
> > > >
> > >
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b