52North / WPS

**DEPRECATED** The 52°North Web Processing Service enables the deployment of geo-processes on the web in a standardized way.
GNU General Public License v2.0
63 stars 55 forks source link

IDatabase.generateRetrieveResultURL implementations return falsy values #159

Closed htulipe closed 8 years ago

htulipe commented 9 years ago

Hello, I would like to report a small bug.

Let's say my webapp is running on localhost:8080 with no webapp path. In that case, generateRetrieveResultURL returns http://localhost:8080//RetrieveResultServlet?id=...

Note the double slash, this causes the link provided in ExecuteResponse to be incorrect. Note that there would also be a problem if my webapp was running on the default, dispensable, 80 port. The result link would be http://localhost://RetrieveResultServlet?id=....

The bug is present on AbstractDatabase, PostgreDatabase and DerbyDatabase

Cheers

matthesrieke commented 9 years ago

thanks for reporting, we will target this issue for the next maintenance release.