MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
42 stars 10 forks source link

URL Encoding not respected in RT URL #154

Open timhibbard opened 2 years ago

timhibbard commented 2 years ago

Summary: Entering this URL https://passio3.com/Project%20Amistad%20(delete%20me)/passioTransit/gtfs/realtime/serviceAlerts.json

Provided this error:

Bad Request. URL returns code: 400. Please check the URL "https://passio3.com/Project Amistad (delete me)/passioTransit/gtfs/realtime/serviceAlerts.json" provided.

Steps to reproduce:

Enter into GTFS Static: https://passio3.com/Project%20Amistad%20(delete%20me)/passioTransit/gtfs/google_transit.zip

Enter into RT feed: https://passio3.com/Project%20Amistad%20(delete%20me)/passioTransit/gtfs/realtime/serviceAlerts.json

Expected behavior:

Retain URL encoding

Observed behavior:

Encoding was ignored and stripped

Platform:

Docker

Screen Shot 2022-07-05 at 8 27 41 PM Screen Shot 2022-07-05 at 8 27 51 PM