#14566 closed defect (bug) (duplicate)
Blogger importer/AuthToken issue
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | Import | Keywords: | blogger |
Focuses: | Cc: |
Description
Problems with the blogger importer giving a 403 Invalid AuthSub Token error when trying to authorize with Google. Seems to (possibly) be something related to Google/Blogger's authorization scheme. More details at the post noted below, though there are probably some other posts in the forums as well. Looks like it was an issue on wordpress.com, but has been fixed over there.
http://wordpress.org/support/topic/unable-to-import-blogger?
Change History (4)
Note: See
TracTickets for help on using
tickets.
1.) Line 99:OLD: $token = preg_replace( '/[-_0-9a-zA-Z]/', , $_GETtoken? );
NEW: $token = preg_replace( '/[%-_0-9a-zA-Z]/', , $_GETtoken? );Note: % sign added in the regex portion.
2) Line 108:OLD: preg_match( '/token=([-_0-9a-z]+)/i', $response, $matches );
NEW: preg_match( '/token=([%-_0-9a-z]+)/i', $response, $matches );Note: % sign added in the regex portion.
I've tested this on my own blogs...it works like a charm