Dropbox Oct 27, 2020

Our Counterintuitive Fix for Android Path Normalization

Article Summary

Dropbox Android users couldn't see folders with Cyrillic characters or certain special names. The obvious fix? Way too risky to attempt.

Dropbox's Android app had path normalization bugs stemming from Python 2.5 quirks and whitespace handling mismatches. Gary Guo shares how the team fixed it without risking data loss for millions of users.

Key Takeaways

Critical Insight

A temporary global static variable solved a critical Android bug affecting file operations while avoiding the months of refactoring that elegant solutions would have required.

The solution violated every software engineering best practice, but the team's reasoning for why it was actually the smartest choice is worth understanding.

Recent from Dropbox

Related Articles