1. Go to https://apps.mozillalabs.com/appdir/
2. Install Favimon
The application should be installed natively. The desktop shortcut and the item in the start menu should be Favimon (beta).
The application is installed natively. However, the desktop shortcut and the item in the start menu is listed as Favimon (beta.
Created attachment 617004 [details]
Favimon Parentheses Issue
This is related to the sanitization code in bug 704574.
*** Bug 748676 has been marked as a duplicate of this bug. ***
The trailing ) is removed by WebappsInstaller.jsm's stripStringForFilename:
let stripBackRE = new RegExp("\\W*$","gi");
felipe, any particular reason trailing characters need to be stripped? Stripping from the beginning makes more sense if the first character must be alphanumeric, but usually there's no requirement for non-first characters.. ?
This also affects os x in /Applications and Launcher.
Nope, the original idea was to strip blank/invisible characters, but this ended up to be too aggressive
So probably just change it to stripping \s ?
Created attachment 618859 [details] [diff] [review]
(In reply to Edward Lee :Mardak from comment #9)
> Created attachment 618859 [details] [diff] [review]
FYI - Looking at the patch comment:
//strip everything from the front up to the first [0-9a-zA-Z]
This isn't localized to languages outside of the united states. This explains why bug 733482 might be happening. This needs to be localized, along with other regex expressions used for manifest parsing.