CloudFront functions accessing full URL or # fragment identifier

0

Looks like the URL is pre-parsed into uri and querystring, but it leaves out location property or fragment identifier. We use vue.js and it creates URL's like domain.com/#/path/to/something/?optional=true and I want to conduct a check against the vue path. Is there a way to achieve this without proxying it through an actual server?

I've also attempted this with lambda@edge python snippet printing out event. Looks like it has the exactly the same behaviour if configured as viewer-request handler.

1 Respuesta
0
Respuesta aceptada

Looks like is just lack of knowledge on browser behaviour. URL fragments are not sent by the browser to server hence I can't retrieve it.

Good blog post on this

Dom MSK
respondido hace 5 meses
profile picture
EXPERTO
revisado hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas