Skip to content

Commit

Permalink
Removed custom user agent string from outgoing requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Apr 12, 2019
1 parent 1aacc0d commit d526a7a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 105 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [build] Bumped electron version to v4.1.1 and updated .dmg installer background image in PR [1419](https://github.com/Microsoft/BotFramework-Emulator/pull/1419)
- [ui-react] Added default disabled styling to checkbox control in PR [1424](https://github.com/Microsoft/BotFramework-Emulator/pull/1424)

## Removed
- [main] Removed custom user agent string from outgoing requests in PR [1427](https://github.com/Microsoft/BotFramework-Emulator/pull/1427)

## v4.3.3 - 2019 - 03 - 14
## Fixed
- [client] Use correct casing for user id prop for web chat in PR [#1374](https://github.com/Microsoft/BotFramework-Emulator/pull/1374)
Expand Down
58 changes: 0 additions & 58 deletions packages/app/main/src/appendCustomUserAgent.spec.ts

This file was deleted.

43 changes: 0 additions & 43 deletions packages/app/main/src/appendCustomUserAgent.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/app/main/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import { app, BrowserWindow, dialog, ipcMain, Rectangle, screen, systemPreferenc
import { UpdateInfo } from 'electron-updater';
import { Store } from 'redux';

import { appendCustomUserAgent } from './appendCustomUserAgent';
import { AppMenuBuilder } from './appMenuBuilder';
import { AppUpdater } from './appUpdater';
import { getStore } from './botData/store';
Expand Down Expand Up @@ -298,9 +297,6 @@ const createMainWindow = async () => {
})
);

// attach custom user agent string
mainWindow.webContents.session.webRequest.onBeforeSendHeaders(appendCustomUserAgent);

// get reference to bots list in state for comparison against state changes
let botsRef = store.getState().bot.botFiles;

Expand Down

0 comments on commit d526a7a

Please sign in to comment.