Blog "Older Posts" Incorrect Link

Forum Administrative - NOT PROJECT OR "HELP"

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
TkTech
 
Posts: 3
Joined: Fri Nov 19, 2010 9:13 pm

Blog "Older Posts" Incorrect Link

Post by TkTech »

While navigating the blog using Chrome 9.0.587.0 dev from OS X, the "Older Posts" link at the bottom of the blog appears to incorrectly parse the current URI after page 2 (this works fine under Safari)

Ex: Instead of the expected http://www.adafruit.com/blog/&zenid=e42 ... 59/page/3/ you get http://www.adafruit.com/blog/&zenid=e42 ... 2//page/3/

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Blog "Older Posts" Incorrect Link

Post by adafruit »

TkTech wrote:While navigating the blog using Chrome 9.0.587.0 dev from OS X, the "Older Posts" link at the bottom of the blog appears to incorrectly parse the current URI after page 2 (this works fine under Safari)

Ex: Instead of the expected http://www.adafruit.com/blog/&zenid=e42 ... 59/page/3/ you get http://www.adafruit.com/blog/&zenid=e42 ... 2//page/3/
try logging out (and/or clear cookies/cache for our site) - sometimes it adds the zen id, you can also pop in another browser. this chrome oddity is on our list to review after the holidays.

cheers,
adafruit

TkTech
 
Posts: 3
Joined: Fri Nov 19, 2010 9:13 pm

Re: Blog "Older Posts" Incorrect Link

Post by TkTech »

Hey adafruit, that was a remarkably fast reply (really, 4 minutes!)

Anyways, figured out why it's happening. To reproduce:
  • Close all *.adafruit.com windows open
  • Clear the zenid cookie from .adafruit.com
  • Open a new window and go to the main page
  • You'll notice the blog link on the top of the site has the zenid k/v in the URL
  • Click the blog link, bug reproduced :)
  • Navigating directly to the blog without a zenid specified results in the desired behaviour
Because it's specified in the link, Chrome will hold onto it in the URI when it sends the request back to the server.
This is really only an issue for new visitors from the site that attempt to navigate to the blog using the header.
This is consistent with zen carts behaviour, which is:
  • First hit, no session id
  • Second hit, generated session id as a cookie and k/v
  • Third hit, session id is cookie only (if accepted) otherwise persists as a k/v

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Blog "Older Posts" Incorrect Link

Post by adafruit »

TkTech wrote:Hey adafruit, that was a remarkably fast reply (really, 4 minutes!)
thanks :)

what you outlined makes sense and what we've seen too - after the holidays when we get to the next round of site updates we'll see how easy it is to fix this, thanks for detailed note.

cheers,
adafruit

TkTech
 
Posts: 3
Joined: Fri Nov 19, 2010 9:13 pm

Re: Blog "Older Posts" Incorrect Link

Post by TkTech »

Anytime, keep making great products :)

Here's another one for you (a quick fix): on this page the last preview image which appears to be a game of space invaders goes to the wrong larger preview image when selected (going to this instead)

Locked
Please be positive and constructive with your questions and comments.

Return to “Administrative (closed)”