nobody/LocalCDN
25
630
Fork
You've already forked LocalCDN
20

Fix vue special-case mapping always matching #596

Closed
TheMageKing wants to merge 0 commits from TheMageKing/LocalCDN:develop into develop
pull from: TheMageKing/LocalCDN:develop
merge into: nobody:develop
nobody:main
nobody:develop
nobody:experimental
Contributor
Copy link

I live!

Had an issue with an over-eager special case (the line I changed matched on cdn.jsdelivr.net/npm/vue@2.5/dist/vue.js , which resulted in the version ID that was sent to the setLastVersion being simply "s", which didn't match any of the Vue interceptors and resulted in "false" being returned, so the redirect was to resources/vue/false/vue.min.jsm, which is obviously nonsense). I tested on both the original website reported in the issue that prompted this special case and the site which I had my issue with: both worked great.

The change I was talking about making a few months ago would have prevented this (or, rather, made the failure loud instead of silent), but I never got around to it. Accept this fix in the stead of that: I might still get around to it, but not now.

I live! Had an issue with an over-eager special case (the line I changed matched on cdn.jsdelivr.net/npm/vue@2.5/dist/vue.js , which resulted in the version ID that was sent to the setLastVersion being simply "s", which didn't match any of the Vue interceptors and resulted in "false" being returned, so the redirect was to resources/vue/false/vue.min.jsm, which is obviously nonsense). I tested on both the original website reported in the issue that prompted this special case and the site which I had my issue with: both worked great. The change I was talking about making a few months ago would have prevented this (or, rather, made the failure loud instead of silent), but I never got around to it. Accept this fix in the stead of that: I might still get around to it, but not now.
nobody added this to the v2.6.12 milestone 2021年08月03日 06:46:13 +02:00
nobody removed this from the v2.6.12 milestone 2021年08月03日 06:47:49 +02:00

Thanks for your PR. It doesn't work, unfortunately. I have already fixed that here: #598

Thanks for your PR. It doesn't work, unfortunately. I have already fixed that here: https://codeberg.org/nobody/LocalCDN/issues/598
nobody closed this pull request 2021年08月03日 06:50:54 +02:00
Author
Contributor
Copy link

What can I say: I was lazy, and just wanted the thing to stop being broken.

What can I say: I was lazy, and just wanted the thing to stop being broken.

No problem. Could you test if the current develop works with the website?

No problem. Could you test if the current develop works with the website?
Author
Contributor
Copy link

yup, its alive

yup, its alive

Great, glad to see the problem is solved 🙂

Great, glad to see the problem is solved 🙂

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nobody/LocalCDN!596
Reference in a new issue
nobody/LocalCDN
No description provided.
Delete branch "TheMageKing/LocalCDN:develop"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?