Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Recognize "." as a allowed character in a Cronk uid.
Browse files Browse the repository at this point in the history
Cronks can actually contain dots, but the URL parser haven't allowed that.

Fixes #5289
  • Loading branch information
lazyfrosch committed Dec 9, 2013
1 parent b75e220 commit 6979543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/modules/Cronks/lib/js/Cronk/util/CronkOpener.js
Expand Up @@ -90,7 +90,7 @@ Ext.ns('Cronk.util');

// PRIVATE
parseUrl: function () {
if (location.href.match(/modules\/cronks\/open\/([\w\d_\-\s]+)(\?(.+))?$/)) {
if (location.href.match(/modules\/cronks\/open\/([\w\d_\.\-\s]+)(\?(.+))?$/)) {
if (RegExp.$1) {
this.setCronkUid(RegExp.$1);
}
Expand Down Expand Up @@ -208,4 +208,4 @@ Ext.ns('Cronk.util');
}
});

})();
})();

0 comments on commit 6979543

Please sign in to comment.