Trim video titles with the local API to avoid breaking the databases#8354
Merged
Merged
Conversation
Member
|
Would this issue not apply to any other properties or does it only happen to video titles? |
Member
|
Happens in these cases too #8130 (comment) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Member
@ChunkyProgrammer Not sure tbh but this PR does solve the following cases so i think we can merge this Case A:
Case B:
|
Member
|
@ChunkyProgrammer sorry didnt ask the question properly. Are you ok with merging this PR in its current state? |
Member
|
@efb4f5ff-1298-471a-8973-3d47447115dc If it weren't in draft and absidue is ready for it to be merged then sure 🙂 |
efb4f5ff-1298-471a-8973-3d47447115dc
approved these changes
Mar 8, 2026
efb4f5ff-1298-471a-8973-3d47447115dc
left a comment
Member
There was a problem hiding this comment.
Tested with these cases
ChunkyProgrammer
approved these changes
Mar 8, 2026
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Mar 12, 2026
* test/yt/pr-1148: test Serialize the error as a string to pass it back to the main view Workaround for electron/electron#49253 (FreeTubeApp#8714) Translated using Weblate (Icelandic) Translated using Weblate (Japanese) Trim video titles with the local API to avoid breaking the databases (FreeTubeApp#8354) Translated using Weblate (Tamil)
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Mar 16, 2026
* development: (106 commits) Translated using Weblate (Portuguese) Bump electron from 40.8.0 to 41.0.2 (FreeTubeApp#8801) Translated using Weblate (German) Translated using Weblate (Lithuanian) Bump lefthook from 2.1.3 to 2.1.4 (FreeTubeApp#8799) Bump babel-loader from 10.1.0 to 10.1.1 in the babel group (FreeTubeApp#8794) Bump the webpack group with 2 updates (FreeTubeApp#8797) Bump the fortawesome group with 5 updates (FreeTubeApp#8796) Bump the eslint group with 3 updates (FreeTubeApp#8795) Bump vue from 3.5.29 to 3.5.30 (FreeTubeApp#8800) Translated using Weblate (Japanese) Serialize the error as a string to pass it back to the main view (FreeTubeApp#8789) Bump tar from 7.5.10 to 7.5.11 (FreeTubeApp#8788) Workaround for electron/electron#49253 (FreeTubeApp#8714) Translated using Weblate (Icelandic) Translated using Weblate (Japanese) Trim video titles with the local API to avoid breaking the databases (FreeTubeApp#8354) Translated using Weblate (Tamil) enhance issue templates (FreeTubeApp#8770) Bump vue-i18n from 11.2.8 to 11.3.0 (FreeTubeApp#8769) ...
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Mar 17, 2026
* development: (21 commits) Bump webpack-cli from 6.0.1 to 7.0.1 in the webpack group (FreeTubeApp#8816) Bump @double-great/stylelint-a11y in the stylelint group (FreeTubeApp#8815) Bump youtubei.js from 16.0.1 to 17.0.1 (FreeTubeApp#8818) Translated using Weblate (Portuguese) Bump electron from 40.8.0 to 41.0.2 (FreeTubeApp#8801) Translated using Weblate (German) Translated using Weblate (Lithuanian) Bump lefthook from 2.1.3 to 2.1.4 (FreeTubeApp#8799) Bump babel-loader from 10.1.0 to 10.1.1 in the babel group (FreeTubeApp#8794) Bump the webpack group with 2 updates (FreeTubeApp#8797) Bump the fortawesome group with 5 updates (FreeTubeApp#8796) Bump the eslint group with 3 updates (FreeTubeApp#8795) Bump vue from 3.5.29 to 3.5.30 (FreeTubeApp#8800) Translated using Weblate (Japanese) Serialize the error as a string to pass it back to the main view (FreeTubeApp#8789) Bump tar from 7.5.10 to 7.5.11 (FreeTubeApp#8788) Workaround for electron/electron#49253 (FreeTubeApp#8714) Translated using Weblate (Icelandic) Translated using Weblate (Japanese) Trim video titles with the local API to avoid breaking the databases (FreeTubeApp#8354) ...
Pillowytuba
pushed a commit
to Pillowytuba/FreeTube
that referenced
this pull request
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request Type
Related issue
Description
Testing shows that this fixes the reported issue. We still don't know why newlines are causing issues, theoretically they should inside JSON strings and escaped.
Testing
Test that adding videos with newlines in the title to a playlist or the watch history and that things work correctly after restarting FreeTube.
Desktop