Skip to content

Commit

Permalink
EncodeURI mimeurl (#93)
Browse files Browse the repository at this point in the history
* encodeURI on mimeurl

* version bump
  • Loading branch information
dugite-code authored Oct 14, 2022
1 parent 67f9405 commit 73c5d9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/chrome/content/lookout.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ LookoutStreamListener.prototype = {
onTnefStart: function ( filename, content_type, length, date ) {
lookout.log_msg( "LookOut: Entering onTnefStart()", 6 ); //MKA
lookout.log_msg( "LookOut: " + filename + " - " + length, 6 );
var mimeurl = this.mAttUrl + "." + this.mPartId;
var mimeurl = encodeURI(this.mAttUrl + "." + this.mPartId);
var basename = lookout.basename( filename );

if( basename )
Expand Down Expand Up @@ -890,7 +890,7 @@ var lookout_lib = {
stream_listener.mMsgUri, // in string aMessageUri
stream_listener, // in nsISupports aDisplayConsumer
null, // in nsIMsgWindow aMsgWindow
null); // in nsIUrlListener aUrlListener
null); // in nsIUrlListener aUrlListener
},

on_end_all_attachments: function () {
Expand Down Expand Up @@ -995,4 +995,3 @@ function LookoutLoad () {
}
//---------------------------------------------------------------------------------
}

2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"strict_max_version": "102.*"
}
},
"version": "5.2",
"version": "5.3",
"default_locale": "en",
"author": "Dugite-Code",
"homepage_url": "https://github.com/TB-throwback/LookOut-fix-version/",
Expand Down

0 comments on commit 73c5d9b

Please sign in to comment.