There is something fishy going on. Probably a github bug that is not consistent (A/B testing?)
I am on windows10, using firefox. I have just copied a checkout URL and got an extra character. But only the first time. A second time it wasn’t there. I had to look at my history file to see it!
here is my history:
git clone --recursive https://github.com/amzeratul/halley-template
git clone --recursive http://github.com/amzeratul/halley-template
git clone --recursive github.com/amzeratul/halley-template
git clone --recursive https://github.com/amzeratul/halley-template
the history command doesn’t show the extra char. Just like it wasn’t rendered when i was copy-pasting it into the terminal. You can see how i tried to remove the ‘s’ and then the entire protocol? I was only triggered to investigate further when the backspace key moved one less character than i was expecting!
I saved my shell history file onto a machine with an hex editor and:
00000000 xx xx xx xx xx xx xx 0a 67 69 74 20 63 6c 6f 6e |xxxxxxx.git clon|
00000010 65 20 2d 2d 72 65 63 75 72 73 69 76 65 20 c2 96 |e --recursive ..|
00000020 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 |https://github.c|
00000030 6f 6d 2f 61 6d 7a 65 72 61 74 75 6c 2f 68 61 6c |om/amzeratul/hal|
00000040 6c 65 79 2d 74 65 6d 70 6c 61 74 65 0a 67 69 74 |ley-template.git|
00000050 20 2d 2d 68 65 6c 70 0a 67 69 74 20 75 70 64 61 | --help.git upda|
00000060 74 65 2d 67 69 74 2d 66 6f 72 2d 77 69 6e 64 6f |te-git-for-windo|
00000070 77 73 0a 67 69 74 20 63 6c 6f 6e 65 20 2d 2d 72 |ws.git clone --r|
00000080 65 63 75 72 73 69 76 65 20 c2 96 68 74 74 70 73 |ecursive ..https|
00000090 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 61 6d |://github.com/am|
000000a0 7a 65 72 61 74 75 6c 2f 68 61 6c 6c 65 79 2d 74 |zeratul/halley-t|
000000b0 65 6d 70 6c 61 74 65 0a 63 75 72 6c 20 2d 2d 76 |emplate.curl --v|
000000c0 65 72 73 69 6f 6e 0a 63 64 20 63 6f 64 65 0a 67 |ersion.cd code.g|
000000d0 69 74 20 63 6c 6f 6e 65 20 2d 2d 72 65 63 75 72 |it clone --recur|
000000e0 73 69 76 65 20 c2 96 68 74 74 70 73 3a 2f 2f 67 |sive ..https://g|
000000f0 69 74 68 75 62 2e 63 6f 6d 2f 61 6d 7a 65 72 61 |ithub.com/amzera|
00000100 74 75 6c 2f 68 61 6c 6c 65 79 2d 74 65 6d 70 6c |tul/halley-templ|
00000110 61 74 65 0a 67 69 74 20 63 6c 6f 6e 65 20 2d 2d |ate.git clone --|
00000120 72 65 63 75 72 73 69 76 65 20 c2 96 68 74 74 70 |recursive ..http|
00000130 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 61 6d |://github.com/am|
00000140 7a 65 72 61 74 75 6c 2f 68 61 6c 6c 65 79 2d 74 |zeratul/halley-t|
00000150 65 6d 70 6c 61 74 65 0a 67 69 74 20 63 6c 6f 6e |emplate.git clon|
00000160 65 20 2d 2d 72 65 63 75 72 73 69 76 65 20 67 69 |e --recursive gi|
00000170 74 68 75 62 2e 63 6f 6d 2f 61 6d 7a 65 72 61 74 |thub.com/amzerat|
00000180 75 6c 2f 68 61 6c 6c 65 79 2d 74 65 6d 70 6c 61 |ul/halley-templa|
00000190 74 65 0a 67 69 74 20 63 6c 6f 6e 65 20 2d 2d 72 |te.git clone --r|
000001a0 65 63 75 72 73 69 76 65 20 68 74 74 70 73 3a 2f |ecursive https:/|
000001b0 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 61 6d 7a 65 |/github.com/amze|
000001c0 72 61 74 75 6c 2f 68 61 6c 6c 65 79 2d 74 65 6d |ratul/halley-tem|
000001d0 70 6c 61 74 65 0a |plate.|
000001d6
There i a c2 96
char inserted before the url. No idea what that is. Is it not extended ASCII (where it would be –
) and it was hidden from almost every place i pasted while it was on the clipboard. The closest i’ve found with this hex value would be https://www.fileformat.info/info/unicode/char/c298/index.htm but i didn’t see the utf prefix anywhere (again, might have been lost)
This all might be misleading as I lost the page/clipboard and am working exclusively from the saved shell history file, which might very well be missing data from the original bug/malicious injection.
Skip to content
I tried to push the repo to my azure
remote by runnng git push azure master
. The remote URL is 'https://<myid>@ndas.scm.azurewebsites.net/<myapp>.git'
.
The problem is, it says protocol ‘https’ is not supported
Please see the following screenshot:
Solution:
The problem is, it says protocol ‘https’ is not supported
It actually doesn’t say that. Here’s what it actually says:
fatal: protocol ”https’ is not supported
Note the two single quotes at the beginning and one at the end. The first and last are quoting the protocol for the error message, but the second quote is part of the protocol being rejected: 'https
.
Note also the full output you see from git remote -v
. Your azure
remote URLs include literal leading and trailing single quotes while your origin
remote URLs (which are presumably working) don’t.
Try running
git remote set-url azure https://poomani98@ndas.scm.azurewebsites.net/ndas.git
to set the remote URL to https://poomani98@ndas.scm.azurewebsites.net/ndas.git
instead of 'https://poomani98@ndas.scm.azurewebsites.net/ndas.git'
, then pushing again.
Issue Type: Performance Issue
Under Source control, click Publish Branch
VS Code version: Code 1.69.2 (3b889b0, 2022-07-18T16:12:57.074Z)
OS version: Darwin x64 21.6.0
Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz (4 x 3500) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 3, 3, 2 |
Memory (System) | 16.00GB (0.02GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Workspace Info
| Window (pendulumLin.py — silly_repo)
| Folder (silly_repo): 3 files
| File types: py(1) txt(1)
| Conf files:;
Extensions (7)
Extension | Author (truncated) | Version |
---|---|---|
anaconda-extension-pack | ms- | 1.0.1 |
python | ms- | 2022.12.1 |
vscode-pylance | ms- | 2022.8.40 |
jupyter | ms- | 2022.6.1201981810 |
jupyter-keymap | ms- | 1.0.0 |
jupyter-renderers | ms- | 1.0.9 |
vscode-yaml | red | 1.9.1 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30542925
vsaa593:30376534
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyonecf:30548226
2144e591:30553903
have written the needed data into your clipboard because it was too large to send. Please paste.
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
Thanks for reporting this issue! Unfortunately, it’s hard for us to understand what issue you’re seeing. Please help us out by providing a screen recording showing exactly what isn’t working as expected. While we can work with most standard formats, .gif
files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode
in the command palette).
Happy coding!
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!