Actually you're right, it's more likely to need escaping in double quotes. In fact I get it now, it's not escaped in this string, so when it is passed elsewhere the `\` remains in place to be escaped there, so I would leave this as is, or perhaps check if there are some tests somewhere that ensure the URL is created properly.