[openSUSE/open-build-service] f085ab: Encode backend URL with Addressable
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: f085ab2df31d5d4327de620ab03e5e9cf563f694 https://github.com/openSUSE/open-build-service/commit/f085ab2df31d5d4327de62... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-07-19 (Tue, 19 Jul 2022) Changed paths: M src/api/app/helpers/maintenance_helper.rb Log Message: ----------- Encode backend URL with Addressable CGI.escape turns blanks into + which is not correct. ``` irb(main):013:0> Addressable::URI.escape('this:is:pro ject') => "this:is:pro%20ject" irb(main):014:0> CGI.escape('this:is:proj ect') => "this%3Ais%3Aproj+ect" ``` Commit: 278e17b66f50af36becc44a885330105233aaa3f https://github.com/openSUSE/open-build-service/commit/278e17b66f50af36becc44... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-07-19 (Tue, 19 Jul 2022) Changed paths: M src/api/app/models/project.rb Log Message: ----------- Escape whitespace characters correctly for filepaths See 17eea85058e05ac5c55dca49f6e0dae4f1d8f13f for details Commit: c2d17b068ba9f70ad06ad0c1c0b130cece006302 https://github.com/openSUSE/open-build-service/commit/c2d17b068ba9f70ad06ad0... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-07-19 (Tue, 19 Jul 2022) Changed paths: M src/api/app/helpers/maintenance_helper.rb M src/api/app/models/project.rb Log Message: ----------- Merge pull request #12828 from hennevogel/bugfix/12826 Some more URL escape fun Compare: https://github.com/openSUSE/open-build-service/compare/445a10643808...c2d17b...
participants (1)
-
Henne Vogelsang