-
Notifications
You must be signed in to change notification settings - Fork 148
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
healthcheck fails if apple id has underscore in it #27
Comments
_
in it
_
in it
local quick fix for me: changed regex to include underscore because i couldn't find the reason why the underscore is not filtered at file creation |
Hmmmm... This sounds a bit odd to be honest. I used to have an underscore in my Apple ID, so this did work once upon a time. I had to swap to a non-underscored ID when I setup family safety on my older devices as Apple don't support underscores in the e-mail address used for parent accounts... However, main sync-icloud.sh script also uses the same parameter expansion to calculate the cookie's filename (line 13). This is used a lot throughout the script, so if you have an underscore in your address, I'd expect the main script to bomb out too. Have you changed line 13 of the main script too? |
Yes i changed the regex in both files: I suspect that maybe the core lib changed somehow. |
Ah, OK cool... I've amended the code so the change will appear when I next push the images to Dockerhub. |
example:
my apple id format is:
firstname_lastname@provider.com
generated cookie file is:
firstname_lastnameprovidercom
healthcheck.sh expects
firstnamelastnameprovidercom
(i checked with a print statement)therefore the healthcheck fails.
manually renaming the cookie file doesn't help either because it just gets regenerated.
The text was updated successfully, but these errors were encountered: