Title: `Error: URI malformed` should report the input / offset · Issue #1542 · github/codeql-action · GitHub
Open Graph Title: `Error: URI malformed` should report the input / offset · Issue #1542 · github/codeql-action
X Title: `Error: URI malformed` should report the input / offset · Issue #1542 · github/codeql-action
Description: Fwiw, I've been using the same workflow for months now, so I don't see why it would suddenly change its behavior. That said, it doesn't really matter why it changed whether it's my code or the library's code. It would be very helpful to ...
Open Graph Description: Fwiw, I've been using the same workflow for months now, so I don't see why it would suddenly change its behavior. That said, it doesn't really matter why it changed whether it's my code or the libr...
X Description: Fwiw, I've been using the same workflow for months now, so I don't see why it would suddenly change its behavior. That said, it doesn't really matter why it changed whether it's my ...
Opengraph URL: https://github.com/github/codeql-action/issues/1542
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Error: URI malformed` should report the input / offset","articleBody":"Fwiw, I've been using the same workflow for months now, so I don't see why it would suddenly change its behavior. That said, it doesn't really matter why it changed whether it's my code or the library's code. It would be very helpful to any user of this action if it were to report at least the URI it didn't like, and, if at all possible, the source of the URI.\r\n\r\nhttps://github.com/check-spelling/sdk-ng/actions/runs/4200335289/jobs/7286246387\r\n\r\n```\r\nDownload action repository 'github/codeql-action@v2' (SHA:17573ee1cc1b9d061760f3a006fc4aac4f944fd5)\r\n```\r\n\r\nRun [github/codeql-action/upload-sarif@v2](https://github.com/github/codeql-action/tree/17573ee1cc1b9d061760f3a006fc4aac4f944fd5)\r\n\u003e Uploading results\r\n Processing sarif files: `[\"/tmp/tmp.cTD1j4ui9R.sarif.json\"]`\r\n `Error: URI malformed`\r\n `URIError: URI malformed`\r\n\u003e at `decodeURIComponent` (\u003canonymous\u003e)\r\n\u003e at `resolveUriToFile` ([/home/runner/work/_actions/github/codeql-action/v2/lib/fingerprints.js:197](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/fingerprints.js#L197):15)\r\n\u003e at `Object.addFingerprints` ([/home/runner/work/_actions/github/codeql-action/v2/lib/fingerprints.js:251](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/fingerprints.js#L251):30)\r\n\u003e at `uploadFiles` ([/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:245](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/upload-lib.js#L245):32)\r\n\u003e at `Object.uploadFromActions` ([/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:136](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/upload-lib.js#L136):18)\r\n at **async** `run` ([/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:48](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/upload-sarif-action.js#L48):30)\r\n at **async** `runWrapper` ([/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:70](https://github.com/github/codeql-action/blob/17573ee1cc1b9d061760f3a006fc4aac4f944fd5/lib/upload-sarif-action.js#L70):9)\r\n\r\n\r\n\u003cdetails\u003e\u003csummary\u003epossible uris?\u003c/summary\u003e\r\n\r\n`jq . tmp.cTD1j4ui9R.sarif.json|grep '\"uri\"'|perl -pe 's/,$//;s/^\\s*\"uri\": //;s/\"//g'|sort -u`:\r\n\r\n```\r\n.github/workflows/ci.yml\r\n.github/workflows/release.yml\r\n.gitmodules\r\nREADME.md\r\ncmake/Zephyr-sdkConfig.cmake\r\ncmake/Zephyr-sdkConfigVersion.cmake\r\ncmake/zephyr/Kconfig\r\ncmake/zephyr/generic.cmake\r\ncmake/zephyr/host-tools.cmake\r\ncmake/zephyr/target.cmake\r\ncmake/zephyr_sdk_export.cmake\r\nconfigs/aarch64-zephyr-elf.config\r\nconfigs/arc-zephyr-elf.config\r\nconfigs/arm-zephyr-eabi.config\r\nconfigs/mips-zephyr-elf.config\r\nconfigs/nios2-zephyr-elf.config\r\nconfigs/riscv64-zephyr-elf.config\r\nconfigs/sparc-zephyr-elf.config\r\nconfigs/x86_64-zephyr-elf.config\r\nconfigs/xtensa-espressif_esp32_zephyr-elf.config\r\nconfigs/xtensa-espressif_esp32s2_zephyr-elf.config\r\nconfigs/xtensa-intel_apl_adsp_zephyr-elf.config\r\nconfigs/xtensa-intel_s1000_zephyr-elf.config\r\nconfigs/xtensa-nxp_imx8m_adsp_zephyr-elf.config\r\nconfigs/xtensa-nxp_imx_adsp_zephyr-elf.config\r\nmeta-zephyr-sdk/README.md\r\nmeta-zephyr-sdk/conf/distro/include/zephyr-sdk.inc\r\nmeta-zephyr-sdk/conf/distro/zephyr-sdk.conf\r\nmeta-zephyr-sdk/conf/layer.conf\r\nmeta-zephyr-sdk/files/additional-licenses/DABAEZ\r\nmeta-zephyr-sdk/files/additional-licenses/SHUMATECH\r\nmeta-zephyr-sdk/recipes-core/expat/expat_%.bbappend\r\nmeta-zephyr-sdk/recipes-core/udev/eudev_%.bbappend\r\nmeta-zephyr-sdk/recipes-devtools/arc_qemu/arc-qemu_git.bb\r\nmeta-zephyr-sdk/recipes-devtools/arc_qemu/files/cross.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson.inc\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/disable-rpath-handling.patch\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/meson-setup.py\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson/meson-wrapper\r\nmeta-zephyr-sdk/recipes-devtools/meson/meson_0.59.3.bb\r\nmeta-zephyr-sdk/recipes-devtools/meson/nativesdk-meson_0.59.3.bb\r\nmeta-zephyr-sdk/recipes-devtools/qemu/files/cross.patch\r\nmeta-zephyr-sdk/recipes-devtools/qemu/zephyr-qemu_git.bb\r\nmeta-zephyr-sdk/recipes-devtools/xilinx_qemu/files/0001-Revert-target-arm-Revert-back-to-YIELD-for-WFI.patch\r\nmeta-zephyr-sdk/recipes-devtools/xilinx_qemu/files/0002-Enable-WFI-CPU-halting-in-icount-mode.patch\r\nmeta-zephyr-sdk/recipes-devtools/xilinx_qemu/xilinx-qemu_git.bb\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/bossa_git.bb\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/files/0001-Flash.h-Add-flash-override-samba-error.patch\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/files/0001-Wait-for-EEFC-flash-to-complete-operations-before-re.patch\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/files/0002-CalwFlash-Add-SAM4L-Flashcalw-controller.patch\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/files/0003-Device-Introduce-support-to-SAM4L-SoC-family.patch\r\nmeta-zephyr-sdk/recipes-hosttools/bossa/files/0004-CalwFlash-Add-NVIC-reset-command.patch\r\nmeta-zephyr-sdk/recipes-hosttools/hosttools/hosttools-tarball.bb\r\nmeta-zephyr-sdk/recipes-hosttools/openocd/openocd_git.bb\r\nmeta-zephyr-sdk/recipes-kernel/kmod/kmod_git.bbappend\r\nmeta-zephyr-sdk/recipes-support/hidapi/hidapi_git.bb\r\nmeta-zephyr-sdk/recipes-support/libftdi/libftdi_1.4.bb\r\nmeta-zephyr-sdk/recipes-support/libpcre/libpcre2_%.bbappend\r\nmeta-zephyr-sdk/recipes-support/libpcre/libpcre_%.bbappend\r\nmeta-zephyr-sdk/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch\r\nmeta-zephyr-sdk/recipes-support/libusb/libusb-compat_0.1.7.bb\r\nmeta-zephyr-sdk/scripts/meta-zephyr-sdk-build.sh\r\nmeta-zephyr-sdk/scripts/meta-zephyr-sdk-clone.sh\r\nmeta-zephyr-sdk/scripts/template_dir\r\noverlays/README.md\r\noverlays/xtensa_espressif_esp32/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_espressif_esp32/binutils/include/xtensa-config.h\r\noverlays/xtensa_espressif_esp32/gcc/include/xtensa-config.h\r\noverlays/xtensa_espressif_esp32/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_espressif_esp32/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_espressif_esp32/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_espressif_esp32/gdb/gdb/xtensa-xtregs.c\r\noverlays/xtensa_espressif_esp32/gdb/gdbserver/xtensa-xtregs.cc\r\noverlays/xtensa_espressif_esp32/gdb/include/xtensa-config.h\r\noverlays/xtensa_espressif_esp32/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_espressif_esp32s2/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_espressif_esp32s2/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_espressif_esp32s2/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_espressif_esp32s2/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_espressif_esp32s2/gdb/gdb/xtensa-xtregs.c\r\noverlays/xtensa_espressif_esp32s2/gdb/gdbserver/xtensa-xtregs.cc\r\noverlays/xtensa_espressif_esp32s2/gdb/include/xtensa-config.h\r\noverlays/xtensa_espressif_esp32s2/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_intel_apl_adsp/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_intel_apl_adsp/binutils/include/xtensa-config.h\r\noverlays/xtensa_intel_apl_adsp/gcc/include/xtensa-config.h\r\noverlays/xtensa_intel_apl_adsp/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_intel_apl_adsp/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_intel_apl_adsp/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_intel_apl_adsp/gdb/gdb/xtensa-xtregs.c\r\noverlays/xtensa_intel_apl_adsp/gdb/gdbserver/xtensa-xtregs.cc\r\noverlays/xtensa_intel_apl_adsp/gdb/include/xtensa-config.h\r\noverlays/xtensa_intel_apl_adsp/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_intel_s1000/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_intel_s1000/binutils/include/xtensa-config.h\r\noverlays/xtensa_intel_s1000/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_intel_s1000/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_intel_s1000/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_intel_s1000/gdb/gdb/xtensa-xtregs.c\r\noverlays/xtensa_intel_s1000/gdb/gdbserver/xtensa-xtregs.cc\r\noverlays/xtensa_intel_s1000/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_nxp_imx8m_adsp/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_nxp_imx8m_adsp/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_nxp_imx8m_adsp/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_nxp_imx8m_adsp/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_nxp_imx8m_adsp/gdb/gdb/xtensa-xtregs.c\r\noverlays/xtensa_nxp_imx8m_adsp/gdb/gdbserver/xtensa-xtregs.cc\r\noverlays/xtensa_nxp_imx8m_adsp/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_nxp_imx_adsp/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_nxp_imx_adsp/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_nxp_imx_adsp/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_nxp_imx_adsp/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_nxp_imx_adsp/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\noverlays/xtensa_sample_controller/binutils/bfd/xtensa-modules.c\r\noverlays/xtensa_sample_controller/gdb/bfd/xtensa-modules.c\r\noverlays/xtensa_sample_controller/gdb/gdb/regformats/reg-xtensa.dat\r\noverlays/xtensa_sample_controller/gdb/gdb/xtensa-config.c\r\noverlays/xtensa_sample_controller/newlib/newlib/libc/sys/xtensa/include/xtensa/config/core-isa.h\r\nrelease-notes.md\r\nscripts/template_setup_posix\r\nscripts/template_setup_win\r\n```\r\n\u003c/details\u003e","author":{"url":"https://github.com/jsoref","@type":"Person","name":"jsoref"},"datePublished":"2023-02-17T03:57:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1542/codeql-action/issues/1542"}
| 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:ce232555-4155-8f4e-fa13-f92b5351c23e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9586:3876B2:10EC06C:16B070A:6A4D8D66 |
| html-safe-nonce | c8de49202a7f42b20da9f435f167ee3698b82888b34b979f5c6260920b95e0ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTg2OjM4NzZCMjoxMEVDMDZDOjE2QjA3MEE6NkE0RDhENjYiLCJ2aXNpdG9yX2lkIjoiMTkyMDU0ODY5MzIzODE4OTQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e62284752e8b2e80a50d0449eb782778b2293e601662e254752fd33572a6eaa |
| hovercard-subject-tag | issue:1588711843 |
| 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/github/codeql-action/1542/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc31d76dc34740b8b49844b1214f1134a0da34ebcc71fd92e9d9b56eed7a8c6d/github/codeql-action/issues/1542 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc31d76dc34740b8b49844b1214f1134a0da34ebcc71fd92e9d9b56eed7a8c6d/github/codeql-action/issues/1542 |
| og:image:alt | Fwiw, I've been using the same workflow for months now, so I don't see why it would suddenly change its behavior. That said, it doesn't really matter why it changed whether it's my code or the libr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsoref |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| 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 | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width