Title: MeasurementAnalyticsClient.AdjustUriBeforeRequest cuts strings with special chars · Issue #39 · AttackPattern/CSharpAnalytics · GitHub
Open Graph Title: MeasurementAnalyticsClient.AdjustUriBeforeRequest cuts strings with special chars · Issue #39 · AttackPattern/CSharpAnalytics
X Title: MeasurementAnalyticsClient.AdjustUriBeforeRequest cuts strings with special chars · Issue #39 · AttackPattern/CSharpAnalytics
Description: Sent strings are malformed in the MeasurementAnalyticsClient.AdjustUriBeforeRequest method, when a string contains chars = or &. E.g. sending AutoMeasurement.Client.TrackEvent("My Action", "My Custom Category", "My Label id=345"); result...
Open Graph Description: Sent strings are malformed in the MeasurementAnalyticsClient.AdjustUriBeforeRequest method, when a string contains chars = or &. E.g. sending AutoMeasurement.Client.TrackEvent("My Action", "My Cust...
X Description: Sent strings are malformed in the MeasurementAnalyticsClient.AdjustUriBeforeRequest method, when a string contains chars = or &. E.g. sending AutoMeasurement.Client.TrackEvent("My Action&q...
Opengraph URL: https://github.com/AttackPattern/CSharpAnalytics/issues/39
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MeasurementAnalyticsClient.AdjustUriBeforeRequest cuts strings with special chars","articleBody":"Sent strings are malformed in the `MeasurementAnalyticsClient.AdjustUriBeforeRequest` method, when a string contains chars `=` or `\u0026`.\r\n\r\nE.g. sending\r\n\r\n``` csharp\r\nAutoMeasurement.Client.TrackEvent(\"My Action\", \"My Custom Category\", \"My Label id=345\");\r\n```\r\n\r\nresults in sending `label=\"My Label id\"` only.\r\n\r\nI've solved problem either by using `UriFormat.UriEscaped`, or fix `GetQueryParameters` method by ``q.Split(new char[] {'='}, 2)``. (Just one of this fix solved problem.)\r\n\r\n_Note:_ Such Uri construction, parsing and again construction is often source of problems. (My experience from several other applications.) Better to avoid it. Just construct the right Uri once and send it.\r\n","author":{"url":"https://github.com/xmedeko","@type":"Person","name":"xmedeko"},"datePublished":"2015-09-02T09:00:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/39/CSharpAnalytics/issues/39"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a48c6328-7d6a-77a7-f29f-a80789ee4960 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0AC:195296:16EC757:1D3AE03:69903C0B |
| html-safe-nonce | 32a538e50d713f7c6d11bf5bd064c70b0303cba973ce01ecffc0f5e9ad715e9b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEFDOjE5NTI5NjoxNkVDNzU3OjFEM0FFMDM6Njk5MDNDMEIiLCJ2aXNpdG9yX2lkIjoiNjEzNTE0MTY0NjI4NTY4MzcyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33d99e76ffaf3dc5726597945e03b674a16e2f037d4be854fad9ecb44489c4f6 |
| hovercard-subject-tag | issue:104431686 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AttackPattern/CSharpAnalytics/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b66505d5e904d554d9966cc386de993fad014a05a5bee6e64a4bbbcd902608dd/AttackPattern/CSharpAnalytics/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b66505d5e904d554d9966cc386de993fad014a05a5bee6e64a4bbbcd902608dd/AttackPattern/CSharpAnalytics/issues/39 |
| og:image:alt | Sent strings are malformed in the MeasurementAnalyticsClient.AdjustUriBeforeRequest method, when a string contains chars = or &. E.g. sending AutoMeasurement.Client.TrackEvent("My Action", "My Cust... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xmedeko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/AttackPattern/CSharpAnalytics git https://github.com/AttackPattern/CSharpAnalytics.git |
| octolytics-dimension-user_id | 1176709 |
| octolytics-dimension-user_login | AttackPattern |
| octolytics-dimension-repository_id | 7283196 |
| octolytics-dimension-repository_nwo | AttackPattern/CSharpAnalytics |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7283196 |
| octolytics-dimension-repository_network_root_nwo | AttackPattern/CSharpAnalytics |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width