Are you expecting to actually serves images content from your own
application directory using this methods?, you may need to parse and clean
the HTML you are planning to serves in order to avoid those invalid HTTP

On Mon, Aug 1, 2011 at 11:45 PM, Alec Swan [via Apache Wicket] <> wrote:

> Hello,
> Our app has a basic HTML editor where users can enter some HTML code.
> Sometimes users enter something like <img src="GARBAGE">. When the
> browser displays renders the page with this HTML it treats GARBAGE as
> a relative URL. So, the browser tacks GARBAGE on to the current page
> URL causing the application to throw an error. In fact, if the current
> page URL is http://xxx/yyy/oid/1 the browser will send and HTTP
> request to http://xxx/yyy/oid/GARBAGE making it look like oid
> parameter is invalid.
> Is there a way to distinguish between this scenario and a scenario
> where the user did enter an invalid oid value?
> Thanks,
> Alec
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3711221&i=0>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3711221&i=1>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>  To start a new topic under Apache Wicket, email
> To unsubscribe from Apache Wicket, click 
> here<>.



View this message in context:
Sent from the Users forum mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to