A typical event URL looks like this:
But when you apply a discount code, the page is refreshed and the url parameters are removed:
This can lead to unexpected behavior when your url contains e.g. lcMessages, to force civi in a specific language.
Does anyone know why CiviDiscount removes these query parameters?