Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Translation] [LocoProvider] Use rawurlencode and separate tag setting #44816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

danut007ro
Copy link
Contributor

@danut007ro danut007ro commented Dec 28, 2021

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
License MIT

According to Loco documentation when setting tag to multiple assets, the ids must be comma separated. Because local translation ids can contain comma, I handle separately those ids and add tag one by one.

I also added rawurlencode for every request made to Loco. It was already used once inside the read method, but I added it everywhere.

@carsonbot carsonbot added this to the 5.4 milestone Dec 28, 2021
@carsonbot carsonbot changed the title [Translator] [LocoProvider] Use rawurlencode and separate tag setting [Translation] [LocoProvider] Use rawurlencode and separate tag setting Dec 28, 2021
@nicolas-grekas
Copy link
Member

Thank you @danut007ro.

@nicolas-grekas nicolas-grekas merged commit a11f8b0 into symfony:5.3 Dec 28, 2021
This was referenced Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants