Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Uploading Files with html spcial charachters fails
Uploading Files with html spcial charachters fails [message #1830041] Thu, 16 July 2020 02:45 Go to next message
Eclipse UserFriend
Hi,

When uploading files with html special characters in the filename, rap aborts because the Label in UploadPanel has the MARKUP_ENABLED property set but the filename is simply set and not html escaped.

I could submit a patch, but I wonder which way to go:
- HTML-escape the filename: simple (but is there already a html escaping funtion / library in rap's code / dependencies - otherwise it would most likely introduce a new dependency)
- Separate filename+error-message into two different labels.

Best regards, Clemens

[Updated on: Mon, 20 July 2020 03:22] by Moderator

Re: Uploading Files with html spcial charachters fails [message #1830417 is a reply to message #1830041] Sat, 25 July 2020 12:12 Go to previous message
Eclipse UserFriend
Hi,

RAP has internal class org.eclipse.rap.rwt.internal.util.Entities to deal with HTML escaping. Not sure if this class will be useful for you.

Regards,
Ivan
Previous Topic:RAP deployment
Next Topic:Mouse move events for TreeViewer
Goto Forum:
  


Current Time: Tue May 13 19:22:18 EDT 2025

Powered by FUDForum. Page generated in 0.03392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top