Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 157647 Details for
Bug 301280
[upload] Upload widget causes a unsecure content warning in a session-based lb-scenario
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch proposal
Patch (text/plain), 1.10 KB, created by
Stefan Röck
on 2010-01-29 12:25:35 EST
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Stefan Röck
Created:
2010-01-29 12:25:35 EST
Size:
1.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rwt.widgets.upload >Index: src/org/eclipse/rwt/widgets/upload/servlet/FileUploadServiceHandler.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/sandbox/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/upload/servlet/FileUploadServiceHandler.java,v >retrieving revision 1.4 >diff -u -r1.4 FileUploadServiceHandler.java >--- src/org/eclipse/rwt/widgets/upload/servlet/FileUploadServiceHandler.java 18 May 2009 14:46:08 -0000 1.4 >+++ src/org/eclipse/rwt/widgets/upload/servlet/FileUploadServiceHandler.java 29 Jan 2010 17:24:52 -0000 >@@ -242,6 +242,9 @@ > URLHelper.appendFirstParam(url, REQUEST_PARAM, getServiceHandlerId()); > URLHelper.appendParam(url, REQUEST_WIDGET_ID, widgetId); > >+ // convert to relative URL >+ int firstSlash = url.indexOf( "/" , url.indexOf( "//" ) + 2 ); // first slash after double slash of "http://" >+ url.delete( 0, firstSlash ); // Result is sth like "/rap?custom_service_handler..." > return RWT.getResponse().encodeURL(url.toString()); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301280
: 157647