Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix headers v2 #306

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Fix headers v2 #306

merged 2 commits into from
Apr 11, 2024

Conversation

AsafMah
Copy link
Collaborator

@AsafMah AsafMah commented Apr 11, 2024

fixes #299

Changed

  • Take process.argv[1] as an app identifier instead of process.title
  • More strict header escaping, limit the length to 100 characters per field

- Take `process.argv[1]` as an app identifier instead of `process.title`
- More strict header escaping, limit the length to 100 characters per field

## [6.0.1] - 2024-04-07

### Fixed
- Version number fix
Copy link

github-actions bot commented Apr 11, 2024

Unit Test Results

    1 files  ±0    16 suites  ±0   6m 44s ⏱️ -5s
276 tests ±0  268 ✔️ ±0  8 💤 ±0  0 ±0 
282 runs  ±0  274 ✔️ ±0  8 💤 ±0  0 ±0 

Results for commit 6da2df8. ± Comparison against base commit 59ed13d.

♻️ This comment has been updated with latest results.

- Take `process.argv[1]` as an app identifier instead of `process.title`
- More strict header escaping, limit the length to 100 characters per field

## [6.0.1] - 2024-04-07

### Fixed
- Version number fix
@@ -15,7 +15,7 @@ declare namespace NodeJS {
}

// This regex allows all printable ascii, except spaces and chars we use in the format
const ReplaceRegex = /[^\x21-\x7A]+/g;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please just align this allover :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah..

@AsafMah AsafMah merged commit bbfe38e into master Apr 11, 2024
5 checks passed
@AsafMah AsafMah deleted the fix-headers-v2 branch April 11, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kusto query failed in Teams web service with error "Invalid character in header content ["x-ms-app"]"
2 participants