Download & Extend

Check to see if a user is allready logged in breaks website referencing by robots

Project:CAS
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:metzlerd
Status:closed (fixed)

Issue Summary

Hi,
I have noticed that when I check "Check to see if a user is allready logged ?"

the referencing robots receive the following content

<html><head><title>CAS Authentication wanted!</title></head><body><h1>CAS Authentication wanted!</h1><p>You should already have been redirected to the CAS server. Click <a href="https://www.hello.com:443/cas/login?service=http%3A%2F%2Fwww.hello.com%2F&gateway=true">here</a> to continue.</p><hr><address>phpCAS ${phpcas.version} using server <a href="https://www.hello.com:443/cas/">https://www.hello.com:443/cas/</a> (CAS 2.0)</a></address></body></html>

I think this is the reason why my website description is not updated on search website (google, bing, yahoo,....)

Any solution ?

Thanks

Fred

Comments

#1

Status:active» needs review

Here's a quick patch against the current HEAD version that might detect it. Could you inspect your logs and make sure that the user agents will properly detect for you based on the strings contained in this patch?

If anyone has any other ideas regarding the detection of search engines I'd love to hear them.

AttachmentSizeStatusTest resultOperations
cas-719272.patch1.31 KBIgnored: Check issue status.NoneNone

#2

Assigned to:Anonymous» metzlerd

#3

Commited to head. Will roll in next 6.2.x-dev release

#4

Status:needs review» fixed

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.