Fix LF/CRLF issue of Firefox's profiles.ini - #4645
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Firefox bookmark loader now parses ChangesFirefox profile compatibility
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to Firefox bookmark loading now supports profiles.ini files using CRLF, CR, or LF line endings, preventing valid Firefox bookmark profiles from being skipped. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #4642. Tested on BOTH CRLF/LF.
Summary by cubic
Summary of changes
profiles.iniuses LF or CR line endings instead of CRLF; the split inFirefoxBookmarkLoader.csnow handles all three line ending types, resolving issue BUG: Browser Bookmarks: Firefox bookmarks disappear when profiles.ini uses LF line endings (Firefox 155) #4642."\r\n"delimiter with an array of"\r\n","\r", and"\n"; no other logic removed.Release Note
profiles.iniuses different line endings.Written for commit e8bc78c. Summary will update on new commits.