Issue #2289353 by joseph.olstad: Fixed patch to core in order to pass w3c url validation (proper encoding for square brackets).