DOS attack when using a
> cache.
>
> One solution might be a generic selector filter, one that can accept a list
> of patterns to whitelist or blacklist.
>
> -Original Message-
> From: Roy Teeuwen [mailto:r...@teeuwen.be]
> Sent: Saturday, July 30, 2016 6:58
accept a list of
patterns to whitelist or blacklist.
-Original Message-
From: Roy Teeuwen [mailto:r...@teeuwen.be]
Sent: Saturday, July 30, 2016 6:58 AM
To: users@sling.apache.org
Subject: Re: Getting the actual resource from a request
Hey Jason,
Just come back to the dispatcher
e and call that asset with a millisecond time stamp
>> and each time I did it, it would be cached, and the cache would get larger.
>> Until some point I have consumed all of your disk space.
>>
>> I'm assuming a similar type issue with cdn's
>>
>> -Jason
>>
's
>
> -Jason
>
> -Original Message-
> From: Roy Teeuwen [mailto:r...@teeuwen.be]
> Sent: Friday, July 29, 2016 8:14 AM
> To: users@sling.apache.org
> Subject: Re: Getting the actual resource from a request
>
> Hey all,
>
> Ok so I fixed it f
rst make your request find the resource without the servlet in the
>>> way. If you switch around the .cdn to the end and add a period at the end
>>> of cdn like this...
>>>
>>> content/dam/nice-image.jpg.cdn./modification-date/20160815/nice-image.jpg
>&
-image.jpg
>>
>> This should work to return the original nice-image.jpg at that point it
>> should be easier to create a servlet that will have the resource as part of
>> the request.
>>
>> Or optionally you could try adding a sling:resourceType to the imag
-Jason
>
>
>
> -Original Message-
> From: Roy Teeuwen [mailto:r...@teeuwen.be]
> Sent: Thursday, July 28, 2016 3:17 PM
> To: users@sling.apache.org
> Subject: Re: Getting the actual resource from a request
>
> Hmm Sorry Jason,
>
> I might have had
that does what you need it do.
-Jason
-Original Message-
From: Roy Teeuwen [mailto:r...@teeuwen.be]
Sent: Thursday, July 28, 2016 3:17 PM
To: users@sling.apache.org
Subject: Re: Getting the actual resource from a request
Hmm Sorry Jason,
I might have had to notice that I am extending
> > I'm under the understanding that it is;
> >
> > request.getResource().getPath()
> >
> > -Original Message-
> > From: Roy Teeuwen [mailto:r...@teeuwen.be]
> > Sent: Thursday, July 28, 2016 12:31 PM
> > To: users@sling.apache.org
> > Subject: Getting the
e understanding that it is;
>
> request.getResource().getPath()
>
> -Original Message-
> From: Roy Teeuwen [mailto:r...@teeuwen.be]
> Sent: Thursday, July 28, 2016 12:31 PM
> To: users@sling.apache.org
> Subject: Getting the actual resource from a request
>
> Hey all,
>
> I am c
I'm under the understanding that it is;
request.getResource().getPath()
-Original Message-
From: Roy Teeuwen [mailto:r...@teeuwen.be]
Sent: Thursday, July 28, 2016 12:31 PM
To: users@sling.apache.org
Subject: Getting the actual resource from a request
Hey all,
I am creating
Hey all,
I am creating a SlingServlet that will work by both using a selector and a
suffix. The resource is for example /content/dam/image.jpg and the actual url
will be
/content/dam/nice-image.cdn.jpg/modification-date/20160815/nice-image.jpg
What is the most easy way to get the actual
12 matches
Mail list logo