fix #1311 edit url

This is blocked on #1366