mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[PR #271] [MERGED] clean up url handling #8479
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/271
Author: @dumbmoron
Created: 12/12/2023
Status: ✅ Merged
Merged: 12/25/2023
Merged by: @wukko
Base:
7.8← Head:cleanup-url-handling📝 Commits (10+)
dd563ebapi: rework url parsing2e1eb1bapi: rename hostOverrides to 'url'149c16aurl: make youtu.be alias rule more laxf9feaa4tumblr: stricter subdomain parsingc458423match: light cleanup3056624servicesConfig: set up subdomains6623605url: return host instead of bool for success30c9652url: typo81e68c3processing: pass URL object instead of string34d8333tumblr: render error template for broken links📊 Changes
12 files changed (+161 additions, -112 deletions)
View changed files
📝
package.json(+1 -0)📝
src/core/api.js(+1 -1)📝
src/front/cobalt.js(+2 -2)📝
src/modules/api.js(+17 -20)📝
src/modules/config.js(+9 -0)➖
src/modules/processing/hostOverrides.js(+0 -48)📝
src/modules/processing/match.js(+11 -6)📝
src/modules/processing/services/soundcloud.js(+4 -3)📝
src/modules/processing/services/tumblr.js(+8 -3)📝
src/modules/processing/servicesConfig.json(+7 -0)➕
src/modules/processing/url.js(+96 -0)📝
src/modules/sub/utils.js(+5 -29)📄 Description
fixes:
improvements:
https://x.com/...works) - useful since pasting urls with leading/trailing spaces by accident happens quite often🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.