The Metadata Plugin
Metadata Management for Manila
 
Site last updated
2/24/2006; 12:33:21 PM
 
Home

Why

Features

FAQ

Updates

Documentation

Download

Developers

Bugs

Feedback

Discuss

Planned
Features

 
 

Esoteric Bug

Author:   Ian Koss  
Posted: 12/4/2001; 11:34:08 AM
Topic: Esoteric Bug
Msg #: 1100 (top msg in thread)
Prev/Next: 1099/1101
Reads: 5547

Something wrong happens when you store text in a metadata field that contains qualified URLs, and put that URL following a comma:

Also featuring Terry Hall on vocals, 911 will be available as a free download from the official website, http://www.gorillaz.com from December 7th. Visitors to the site will be able to watch an exclusive new video, and download single artwork to accompany 911.

showVal("example") (where example contains the text above) turns a large chunk of text into a link, specifically, all characters between the "http:" and the next comma or the end of the text:

Also featuring Terry Hall on vocals, 911 will be available as a free download from the official website, <a href="http://www.gorillaz.com from December 7th. Visitors to the site will be able to watch an exclusive new video">http://www.gorillaz.com from December 7th. Visitors to the site will be able to watch an exclusive new video</a>, and download single artwork to accompany 911.

I was able to patch around it by changing the test for the code in showVal() that creates links:

if vallc beginswith "http:\//" and not (vallc contains " ")

That is, the "chunk" of metadata is a URL only if it contains no spaces.

--Ian


There are responses to this message:


This page last updated Tuesday, December 4, 2001 at 11:36:32 AM. (5547)