Skip to content

Commit

Permalink
fix: koextgen: Ensure extension name is valid for user-defined langua…
Browse files Browse the repository at this point in the history
…ges - fixes #983

rn=

(integrated from master branch change 9.2.1-796-g3a28913 by Mitchell <mitchellb@activestate.com>)
  • Loading branch information
mitchell-as committed Jan 25, 2016
1 parent cf3076f commit 8b4617b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/koextgen/content/koextgen_lib.js
Expand Up @@ -140,7 +140,7 @@ this.updateProject = function(projectDirPath, targetName, vars) {
var origContents;
var rawPtn, newVars = {}, replVal;
// Moz is picky about what can do in an extension name
vars.name = vars.name.replace(/\W+/, "").toLowerCase();
vars.name = vars.name.replace(/\W+/g, "").toLowerCase();
vars.id = vars.id.toLowerCase();
for (var p in vars) {
if (p in varEquivalents) {
Expand Down

0 comments on commit 8b4617b

Please sign in to comment.