Weird URL parsing of pasted URL redirects to invalid TLD
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
People
(Reporter: 13hurdw, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Paste URL http://www.ops-ecat.schneider-electric.com/ecatalogue/browse.do?cat_id=BU_POW_2554_L3_Z002&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=Z002
Does not appear to have any hidden, zero-width characters - https://gchq.github.io/CyberChef/#recipe=To_Hex('Space')&input=aHR0cDovL3d3dy5vcHMtZWNhdC5zY2huZWlkZXItZWxlY3RyaWMuY29tL2VjYXRhbG9ndWUvYnJvd3NlLmRvP2NhdF9pZD1CVV9QT1dfMjU1NF9MM19aMDAyJmNvbmY9c2VvJmVsX3R5cD1wcm9kdWN0Jm5vZF9pZD00c2VyaWFsLmNvbTAwMDMmcHJkX2lkPU5TWUNWRjU3ME0xMTVNRiZzY3BfaWQ9WjAwMg
Actual results:
URL changed to https://www.ops-ecat.schneider-electric.comecat/browse.do?range_id=2554&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=ES_es
which doesn't resolve obviously because .comecat is not valid
Expected results:
Browser loads the URL http://www.ops-ecat.schneider-electric.com/ecatalogue/browse.do?cat_id=BU_POW_2554_L3_Z002&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=Z002, as displayed
Comment 1•6 years ago
|
||
That's the server response, so that's what the browser tries to load. Same result in Vivaldi.
GET http://www.ops-ecat.schneider-electric.com/ecatalogue/browse.do?cat_id=BU_POW_2554_L3_Z002&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=Z002
301 Location: https://www.ops-ecat.schneider-electric.comecat/browse.do?range_id=2554&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=ES_es
(In reply to Gingerbread Man from comment #1)
That's the server response, so that's what the browser tries to load. Same result in Vivaldi.
GET http://www.ops-ecat.schneider-electric.com/ecatalogue/browse.do?cat_id=BU_POW_2554_L3_Z002&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=Z002 301 Location: https://www.ops-ecat.schneider-electric.comecat/browse.do?range_id=2554&conf=seo&el_typ=product&nod_id=4serial.com0003&prd_id=NSYCVF570M115MF&scp_id=ES_es
doh, thanks
Description
•