relative path upload fixes #2403

Conflicts:
	src/categories.js