[Silva-general] email addresses with non-standard characters in silva
aaltepet at altepeter.net
Tue Dec 1 17:30:11 CET 2009
Sending this email again, as it appears to have not been delivered to silva-
general the first time:
I've fixed this mailto: issue you've reported in the Silva 2.1 branch and the
Silva trunk. The mailto: regular expression check was _very_ restrictive, and
I've updated it so the left hand side of email addresses support the full
range of allowed characters, which includes the ' character.
The "page not found" error you were seeing was a result of Silva thinking this
mailto: link was actually a relative path to a silva object, and so was
prepending it with the absolute url of the document's container. So when
clicking this link your browser was actually asking Silva for a page like:
The example email address you supplied now works correctly with the 2.1
branch, and will be included in SilvaDocument 2.1.7, whenever it is tagged.
On Tuesday 01 December 2009 07:08:06 am Kit BLAKE wrote:
> On 23 Nov 2009, at 11:23, Elisabeth Coughlin wrote:
> > I have a problem with a mailto: link in Silva. it contains '. Eg.
> > firstname.o'surname at beds.ac.uk
> > I get a 'page not found' error.
> > Is this a restriction set in Silva?
> It seems this doesn't work. Silva interprets the address as a url, not
> a mailto. I also tried using %27 in place of ' with the same result.
> Are there a lot of these o'last names?
More information about the silva-general