Skip to content

Conversation

@garytaylor
Copy link

When using this gem along with the azurite emulator (I don't run windows so this is the best one I have found) - fetching the cors configuration caused an error once cors configuration was present.
This was due to xml nodes just containing whitespace (\n character).

This PR simply sets the 'No Blanks' parser option in nokogiri.

I struggled to do any tests for this - the serialization tests seem to stub out internal methods which seemed a bit strange, which meant I could not put a new test in there without changing things around that area.

I tried integration tests, but I could not seem to configure it to use the azurite emulator.

However, the code is working in a real environment with azurite

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 87.058% when pulling 05abf6a on ministryofjustice:allow-pretty-xml into df9c2cb on Azure:master.

@coveralls
Copy link

coveralls commented Feb 4, 2019

Coverage Status

Coverage decreased (-0.04%) to 87.081% when pulling 05abf6a on ministryofjustice:allow-pretty-xml into df9c2cb on Azure:master.

@yaxia yaxia changed the base branch from master to dev February 14, 2019 05:35
@katmsft
Copy link
Member

katmsft commented Mar 10, 2020

This PR will be left as is for future reference of using azurite emulator. Thanks!

@katmsft
Copy link
Member

katmsft commented Jul 14, 2020

@XiaoningLiu Can you take a look and comment on this?

@katmsft
Copy link
Member

katmsft commented Jul 14, 2020

Will add test case to validate.

@katmsft katmsft added this to the 2020_Aug milestone Jul 14, 2020
@XiaoningLiu
Copy link
Member

Azurite V3 doesn't have space returned in XML response body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants