forked from web-vision/wv_deepltranslate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Ensure full compatible for proxy setting to retrieve Translator
With web-vision#331 the TYPO3 proxy setting has been validated and set as `DeepL Guzzle Client` transport option to have a proper configured proxy used. The TYPO3 proxy setting however allows setting it as a single string url or as array for different protocols, which is not respected. This change modifies the `AbstractClient->getTranslator()` implementation to handle this double structure for named option correctly now. Related: web-vision#331
- Loading branch information
Showing
1 changed file
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters