mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-13 02:14:56 -05:00
[PR #253] [MERGED] fix handling of URLs containing utf-8 characters #1075
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/253
Author: @dumbmoron
Created: 11/23/2023
Status: ✅ Merged
Merged: 11/23/2023
Merged by: @wukko
Base:
current← Head:fix-utf8-urls📝 Commits (3)
190a013api: url-encode UTF-8 characters in url7468b80reddit: don't include title in API request path3ca65e0reddit: remove the rest of references to title📊 Changes
5 files changed (+5 additions, -7 deletions)
View changed files
📝
src/modules/api.js(+1 -1)📝
src/modules/processing/match.js(+1 -2)📝
src/modules/processing/services/reddit.js(+1 -1)📝
src/modules/processing/servicesPatternTesters.js(+1 -2)📝
src/modules/sub/utils.js(+1 -1)📄 Description
this currently affects only reddit, but it should get fixed at the core of the problem instead of hacking around it somewhere else in the code
the main problem is that
url-patterndoesn't like urls containing utf-8 characters (understandably)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.