creator-companion icon indicating copy to clipboard operation
creator-companion copied to clipboard

[BUG] VCC: Protocol links with headers not working since v2.3.0

Open Dreadrith opened this issue 1 month ago • 1 comments

Describe the bug

Note: Adding a listing to VCC by manually inputting the URL and headers works fine.

Using protocol links with the format vcc://vpm/addRepo?url=<LISTNG_URL>&headers[]=<HEADER_KEY>:<HEADER_VALUE> Versions below v2.3.0 are able to process it and add the listing correctly. Versions equal or above v2.3.0 are not processing the same links correctly and fail to get the listing. I can only assume it's because it's not processing or using the headers correctly. I'm not sure if it's because the format changed or something broke.

To Reproduce

Here's a short link that leads to a protocol link with the required headers: https://dreadrith.com/vcc-test Using VCC version 2.3.0 or above, click the link.

Expected behavior

VCC successfully adds the listing.

Screenshots

Failed listing addition through the protocol link on v2.3.0 image

Successful listing addition through the protocol link on v2.2.5 image

Related Product

VCC (VRChat Creator Companion)

Product Version

2.3.0+

OS

Windows 10

Additional context

On that note, v2.3.1 seems to also exhibit some bugs with protocol links without headers. It sometimes closes itself, or blinks, and/or opens another instance of VCC.

Dreadrith avatar May 18 '24 16:05 Dreadrith