Title: Glob is used wrong · Issue #13288 · getsentry/sentry-javascript · GitHub
Open Graph Title: Glob is used wrong · Issue #13288 · getsentry/sentry-javascript
X Title: Glob is used wrong · Issue #13288 · getsentry/sentry-javascript
Description: Description As raised through #13270, asset detection for sourcemap upload in Next.js doesn't work on Windows. After some research we found that it is likely due to the glob library, not allowing \ characters except for escaping and us p...
Open Graph Description: Description As raised through #13270, asset detection for sourcemap upload in Next.js doesn't work on Windows. After some research we found that it is likely due to the glob library, not allowing \...
X Description: Description As raised through #13270, asset detection for sourcemap upload in Next.js doesn't work on Windows. After some research we found that it is likely due to the glob library, not allowi...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/13288
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Glob is used wrong","articleBody":"### Description\n\nAs raised through https://github.com/getsentry/sentry-javascript/issues/13270, asset detection for sourcemap upload in Next.js doesn't work on Windows.\n\nAfter some research we found that it is likely due to the glob library, [not allowing `\\` characters except for escaping](https://www.npmjs.com/package/glob#:~:text=Glob%20patterns%20should%20always%20use%20/%20as%20a%20path%20separator) and us passing in globs with actual backslashes:\n\n- https://github.com/getsentry/sentry-javascript/blob/b17ac598bb18996a517f4ad6144cab0fd27f04fd/packages/nextjs/src/config/webpackPluginOptions.ts#L24-L35\n- https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/95fe7e0b86a7987d0c162abecc515e7021a387ce/packages/bundler-plugin-core/src/debug-id-upload.ts#L81 (here we should probably use `windowsPathsNoEscape` in the case we are autodetecting, because we are exclusively passing absolute paths to glob)\n","author":{"url":"https://github.com/lforst","@type":"Person","name":"lforst"},"datePublished":"2024-08-09T07:46:37Z","url":"https://github.com/getsentry/sentry-javascript/issues/13288"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c774170c-e604-1e94-43dc-8fd533d5c89a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C34C:3C4D7:273AAF2:340DF00:6B038120 |
| html-safe-nonce | d2ce6d9bf3c337c18dc585c1282ec7bea0cdb3ff59e3e5dec4e0481645ff0efa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzRDOjNDNEQ3OjI3M0FBRjI6MzQwREYwMDo2QjAzODEyMCIsInZpc2l0b3JfaWQiOiIxMDgxMTcwMTEzNDY3NzQ0NTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e798a28449ef71dfc3a72f9d215acf18ae3253987e7d13a156d3dc9ed1954232 |
| hovercard-subject-tag | issue:2457325728 |
| 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/getsentry/sentry-javascript/13288/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f395ee52a7f57c3a3caa26407d61544f108742b292b2e752be35160839123610/getsentry/sentry-javascript/issues/13288 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f395ee52a7f57c3a3caa26407d61544f108742b292b2e752be35160839123610/getsentry/sentry-javascript/issues/13288 |
| og:image:alt | Description As raised through #13270, asset detection for sourcemap upload in Next.js doesn't work on Windows. After some research we found that it is likely due to the glob library, not allowing \... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width