microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.26k stars 29.3k forks source link

Security Allowed UNCHosts is case sensitive #183180

Closed gaston-senac closed 1 year ago

gaston-senac commented 1 year ago

Type: Bug

Add a host in "Allowed UNCHosts" with some uppercase characters and it will not recognize the same host that I'm trying to open a file from. For example: Setting up the UNC Host as "serverHTTP01" won't recognize that the file we are trying to open resides in host serverhttp01

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-1260P (16 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.70GB (13.71GB free)| |Process Argv|--crash-reporter-id 51a1beb6-c806-4c82-8267-a65fda4e0b87 --crash-reporter-id 51a1beb6-c806-4c82-8267-a65fda4e0b87 --crash-reporter-id 51a1beb6-c806-4c82-8267-a65fda4e0b87 --crash-reporter-id 51a1beb6-c806-4c82-8267-a65fda4e0b87 --crash-reporter-id 51a1beb6-c806-4c82-8267-a65fda4e0b87| |Screen Reader|no| |VM|0%|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- vscode-sqlite|ale|0.14.1 mikrotik-routeros-script|dev|2022.9.2 code-runner|for|0.12.0 reg|ion|1.1.0 kconfig|luv|1.0.3 auto-save|mcr|1.0.3 rainbow-csv|mec|3.7.0 isort|ms-|2022.8.0 python|ms-|2023.8.0 vscode-pylance|ms-|2023.5.30 jupyter|ms-|2023.4.1011241018 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-wsl|ms-|0.78.7 live-server|ms-|0.4.8 powershell|ms-|2023.5.0 material-icon-theme|PKi|4.27.0 icons|tal|3.6.3 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 material-theme|zhu|3.15.13 (3 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 2i9eh265:30646982 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 0bg3d529:30706074 pythonfmttext:30731395 fixhidewlkth:30730051 showsbindicator:30730056 pythongtdpathcf:30739705 ```
gjsjohnmurray commented 1 year ago

/duplicate

Please see https://github.com/microsoft/vscode/issues/182277#issuecomment-1557336881

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!