Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

104
Vistas
Firefox uses URL-encoded part of href as the whole href

I have a html tag with a query parameter containing a URL-encoded URI:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body>
    <main>
      <a href="https://google.com/maps?endpoint=https%3A%2F%2Fbing.com%2Fmaps">Click me</a>
    </main>
  </body>
</html>

In Chrome, the anchor tag shows up correctly, as https://google.com/maps?endpoint=https%3A%2F%2Fbing.com%2Fmaps.

However, viewing the anchor tag in Firefox shows https://bing.com/maps. It has discarded the first part of the URL, and used the encoded query param as the href. I would expect it to show the same as in Chrome. Why does this happen? Is this a bug?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Turns out it was an addon. This was the culprit: https://github.com/hyperfekt/webextension-remove-redirect

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda