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 241101 Details for
Bug 429895
File is mangled on save
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.
Possible patch for node side
nodeDiff.txt (text/plain), 704 bytes, created by
Bogdan Gheorghe
on 2014-03-21 10:50:09 EDT
(
hide
)
Description:
Possible patch for node side
Filename:
MIME Type:
Creator:
Bogdan Gheorghe
Created:
2014-03-21 10:50:09 EDT
Size:
704 bytes
patch
obsolete
>diff --git a/modules/orionode/lib/file.js b/modules/orionode/lib/file.js >index 35728f4..864d808 100644 >--- a/modules/orionode/lib/file.js >+++ b/modules/orionode/lib/file.js >@@ -86,8 +86,15 @@ module.exports = function(options) { > writeError(500, res, error); > return; > } >- >+ //Check for BOM character, remove if found > var newContents = data.toString(); >+ if (newContents.length > 0) { >+ var code = newContents.charCodeAt(0); >+ if (code === 0xFEFF || code === 0xFFFE) { >+ newContents = newContents.substring(1); >+ } >+ } >+ > var buffer = { > _text: [newContents], > replaceText: function (text, start, end) {
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 Raw
Actions:
View
Attachments on
bug 429895
:
240661
|
240763
| 241101