Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: b3aa4a387f293095a04d3993898772d650af40ad
https://github.com/openSUSE/open-build-service/commit/b3aa4a387f293095a04d39...
Author: Lukas Krause
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M src/api/config/initializers/nokogiri_builder.rb
Log Message:
-----------
Unescape carriage return char in nokogiri xml output
The carriage return character '\r' gets escaped by
nokogiri/libxml which causes the character to be
rendered in the xml output.
https://github.com/sparklemotion/nokogiri/issues/1356
Since this is a valid xml char we can workaround this problem
by unescaping it again.
Fixes #10272
Commit: f3a0e15f5d4de5a16e00eaa3d7d0513355aea45b
https://github.com/openSUSE/open-build-service/commit/f3a0e15f5d4de5a16e00ea...
Author: Lukas Krause
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_description_includes_carriage_return_characters/1_1_3_1.yml
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_do_not_exist/1_1_2_1.yml
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_exist/1_1_1_1.yml
M src/api/spec/controllers/source_project_package_meta_controller_spec.rb
Log Message:
-----------
Add test to check for escaped carriage return in xml output
Commit: 5bf5d35b5712bd2128877f84b40484ad7ff15183
https://github.com/openSUSE/open-build-service/commit/5bf5d35b5712bd2128877f...
Author: Lukas Krause
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
M src/api/config/initializers/nokogiri_builder.rb
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_description_includes_carriage_return_characters/1_1_3_1.yml
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_do_not_exist/1_1_2_1.yml
A src/api/spec/cassettes/SourceProjectPackageMetaController/GET_show/package_exist/1_1_1_1.yml
M src/api/spec/controllers/source_project_package_meta_controller_spec.rb
Log Message:
-----------
Merge pull request #10294 from krauselukas/fix/10272_2
Unescape carriage return char in nokogiri xml output
Compare: https://github.com/openSUSE/open-build-service/compare/7b6280784111...5bf5d3...