thybag / PHP-SharePoint-Lists-API

A simple PHP API to make working with SharePoint lists easy.
MIT License
184 stars 95 forks source link

Error when url have blank spaces #135

Open JulioECastro opened 7 years ago

JulioECastro commented 7 years ago

I've detect a problem accessing a SharePoint site with an space in the url. http://teamwork.us.tenaris.net/sites/Baycity_It/Infrastructure Wiki I tried to change with "%20" string but php change it again to blank space.

Did you see that error? I solve with and line before curl call. I think not the better solution.

JulioECastro commented 7 years ago

https://github.com/JulioECastro/PHP-SharePoint-Lists-API/commit/06881f7cd977251349fbb6c2e89a02cc35a252ca

thybag commented 7 years ago

Please feel free to put in a PR for your fix 👍

JulioECastro commented 7 years ago

https://github.com/thybag/PHP-SharePoint-Lists-API/pull/136