#14629 closed defect (bug) (fixed)
Blogger importer HTTP 403 Invalid AuthSub token
Reported by: | briancolinger | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | |
Component: | Import | Keywords: | has-patch |
Focuses: | Cc: |
Description
The auth() method uses a preg_replace to strip non-alpha-numeric characters from the token.
Google has changed the token format to include non-alpha-numeric characters. This is what causes the 403 Invalid AuthSub token error.
I couldn't immediately find any info on what specific characters the AuthSub token might contain. That is the reason for the wild card in the preg_match.
If anyone else knows what characters should be allowed, please let me know and I'll update the patch.
Attachments (1)
Change History (7)
#2
@
14 years ago
Brian,
From #14566, it looks like the only necessary change is to allow the percent sign in the two regex's.
#3
@
14 years ago
Updated the patch to allow % signs in the token.
Also, passing the token through urldecode() per Google's AuthSub spec.
Thanks to @katybeth for the original report from #14566.
Thanks to @paulbert for suggesting the change to the regex.
Related: #14566