-
Notifications
You must be signed in to change notification settings - Fork 334
user-agent can not contains chinese #1144
Comments
Can you share an example config and the exact error that you see? |
@miankhalid |
@miankhalid I configured a Chinese in PLATFORM_NAME and I got an error. Change to English, it is normal |
@miankhalid square/okhttp#2016 this issues is closed。I don't know if okhttp solves this problem now. |
This needs some research. I am a little busy with some of my own work. |
Closing due to no reply from the contributor. |
@miankhalid I am glad that you still remember this question. I just tested this PR and found that there is no exception and it works fine. But I don't really recommend this solution. The following is the modified User-Agent: Dalvik/2.1. 0 (Linux; U; Android 8.1.0; Nexus 6 Build/OPM2.171026.006.H1) /cn.test.android/ 2.16.3. The following is the User-Agent before modification: Dalvik/2.1.0 (Linux; U; Android 8.1.0; Nexus 6 Build/OPM2.171026.006.H1)测试程序/cn.test.android/ 2.16.3. Found that the former is missing a part (测试程序). Does this part of the less have no effect? I remember that when controlling the version upgrade, you need to configure some parameters, check the UserAgent and regular expressions.Please refer to the following two links and the specified number of rows: |
@laibinzhi can you add this comment on the PR instead of here? that way the originator of the PR will also have visibility of it and have a chance of chiming in on your reservations. Thanks! |
of course
Mian Khalid < [email protected] >于2019年1月23日周三下午5:01写道:
… @laibinzhi <https://github.com/laibinzhi> can you add this comment on the
PR instead of here? that way the originator of the PR will also have
visibility of it and have a chance of chiming in on your reservations.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/edx/edx-app-android/issues/1144#issuecomment-456722237>
, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASVF8lNaKqDEkGfoXTXxiPXxUaTneFUZks5vGCTTgaJpZM4Wvd_I>
.
|
When I configure PLATFORM_NAME as Chinese in the config.yaml file, I get an error.because
I find the request header in okhttp cannot contain Chinese.
Edx has a big market in China.
I hope to solve it ASAP.
The text was updated successfully, but these errors were encountered: