Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-17-2008, 07:25 AM
Elite Member
 
Posts: 380
Default URL zimlet in plaintext?

As I read my mailing list mail in forced plaintext mode, occasionally, I'll mouse over a URL someone's typed into a message in plaintext.

And a popup will come up telling me the URL, which I already know.

I assume that's the URL Zimlet; can't it be modified to notice that the message window is in plaintext, and realize that there's no way to Phish there and that its services are not needed?
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
  #2 (permalink)  
Old 09-17-2008, 08:06 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

sounds like a good idea! these sorts of things should be filed as an rfe in bugzilla.
Reply With Quote
  #3 (permalink)  
Old 09-17-2008, 08:09 AM
Elite Member
 
Posts: 380
Default

Ah, yes... the long-standing "what's a bug, and what's a feature" discussion. :-)

If that's what the URL Zimlet was designed to do: assist in avoiding phishing attacks, then I think a fairly good case can be made that that is *not* an RFE: it's doing something it doesn't need to do: text messages can't phish, since they can't hide "real" URLs under links -- any links in the message were created by the MUA -- and indeed, probably by the URL zimlet -- in the first place.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
  #4 (permalink)  
Old 09-17-2008, 09:08 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

As far as I know, the zimlet url is not designed to assist in avoiding phishing attacks.
It is only designed to detect links and allow you to click on it.
It can also show you a thumbnail in the tooltip if you activate it in the config_template.xml
If the preview thumbnail is disabled, then it will be replaced by a "URL: the url"

If you don't want to have any tooltip on url, edit the following in the zimlet :
-In the com_zimbra_url.zip, edit the url.js file
-replace the following :
Code:
Com_Zimbra_Url.prototype.toolTipPoppedUp =
function(spanElement, obj, context, canvas) {
	var url = obj;
	if (/^\s*true\s*$/i.test(this.getConfig("stripUrls"))) {
		url = url.replace(/[?#].*$/, "");
	}
	
	if(this._disablePreview){
		this._showUrlThumbnail(url,canvas);
	} else if (this._alexaId) {
		this._showAlexaThumbnail(url, canvas);
	} else {
		// Pre-load placeholder image
		(new Image()).src = this.getResource('blank_pixel.gif');
		this._showFreeThumbnail(url, canvas);
	}
};
by :
Code:
Com_Zimbra_Url.prototype.toolTipPoppedUp =
function(spanElement, obj, context, canvas) {
};
-Deploy your modified zimlet
Reply With Quote
  #5 (permalink)  
Old 09-17-2008, 09:13 AM
Elite Member
 
Posts: 380
Default

I was pretty clear, I thought.

I don't want to see a tooltip if I am in plaintext mode -- since it's not really useful.

I'm sure that it *is* useful -- and in fact for helping spot phishes -- if one is viewing HTML, and I wouldn't want to break it for that.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Reply With Quote
  #6 (permalink)  
Old 09-17-2008, 09:24 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

you're assuming it's just there for phising attacks - it's not, it's also there for convenience like many other zimlets. some people find it very useful for turning URLs in text messages into clickable links. some find it annoying and disable the zimlet (me!).

it's not a bug, just clearly it doesn't work precisely how you like it. as usual, fix it yourself or log a bug/rfe.
Reply With Quote
  #7 (permalink)  
Old 09-17-2008, 09:30 AM
Elite Member
 
Posts: 380
Default

Ok, yeah; I see what you mean. If you like those silly popups -- and like you, I don't -- then it would be useful even in text mode.

I do want to make a point, here, though.

"Fix it yourself" is probably practical in the context of a Zimlet.

But I don't think it's necessarily a reasonable response to, well, to things like this bug, for example. Getting to the point where one is practically capable of just off-hand fixing that, if one decides it's actually broken, entails getting married to an *enormous* code base, in at least 2 and maybe 3 different languages, with a truly amazing amount of scaffolding to hold them together; I think it's actually worse than trying to make a small change in Firefox.

Unless you're the guy who *wrote* it, in which case a) it's more like "Oh yeah: that's *here*. Zzzzap! Ok, what's next?" and b) that's part of what we're paying for. I'm a designer by vocation; figuring out what things could be done better for users and how -- and telling coders -- is what I've gotten paid for for over 20 years; it's a reflex. I know it offends open source coders, but there's not much I can do about it.

And both of those reasons are why I feel that it's a bit disingenous to dismiss such things with "we look forward to your patch", in this environment. :-)
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.

Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.

Last edited by Baylink; 09-17-2008 at 09:32 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.