Skip to content

Commit

Permalink
Add moz-extension to sanitize whitelist.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Jun 13, 2018
1 parent cfa9e31 commit f185b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion omega-target-chromium-extension/overlay/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "__MSG_manifest_app_name__",
"version": "2.5.12",
"version": "2.5.13",
"description": "__MSG_manifest_app_description__",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
"icons": {
Expand Down
4 changes: 2 additions & 2 deletions omega-web/src/omega/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ angular.module('omega').constant 'isProfileNameReserved', (name) ->
angular.module('omega').config ($stateProvider, $urlRouterProvider,
$httpProvider, $animateProvider, $compileProvider) ->
$compileProvider.aHrefSanitizationWhitelist(
/^\s*(https?|ftp|mailto|chrome-extension):/)
/^\s*(https?|ftp|mailto|chrome-extension|moz-extension):/)
$compileProvider.imgSrcSanitizationWhitelist(
/^\s*(https?|local|data|chrome-extension):/)
/^\s*(https?|local|data|chrome-extension|moz-extension):/)
$animateProvider.classNameFilter(/angular-animate/)

$urlRouterProvider.otherwise '/about'
Expand Down

0 comments on commit f185b10

Please sign in to comment.