diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-01-25 12:26:16 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-01-25 12:26:23 -0600 |
| commit | 898b768b306f4a60d4fe8549affe713a6162c185 (patch) | |
| tree | c783d0182bcb3955fe80b6f17db39a378940b549 | |
| parent | 06aa1bb90fa4ef3090f3a5f53f8ed915757e15a7 (diff) | |
| download | invidious-898b768b306f4a60d4fe8549affe713a6162c185.tar.gz invidious-898b768b306f4a60d4fe8549affe713a6162c185.tar.bz2 invidious-898b768b306f4a60d4fe8549affe713a6162c185.zip | |
Fallback on ucid for channel search when author contains hyphen
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 69b825ce..5bd20e13 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2192,7 +2192,7 @@ get "/channel/:ucid" do |env| end if !auto_generated - if author.includes? " " + if author.includes?(" ") || author.includes?("-") env.set "search", "channel:#{ucid} " else env.set "search", "channel:#{author.downcase} " |
