I have ti correct myself I got wrong that it is the Title. It is the guid from the database that is not valid. The problematic part is in class post line 401 when the guid is composed and setslug() is added. When setslug is supplemented with urlencode() the id validates and saves correctly to the database.
So now that i found it myself i suggest to add the encoding and everything would be fine when umlauts are showing up. Maybe if this is fixed there should also be an appropriate SQL- Statement to change guids in the database that aren't valid. regards, Florian On 25 Jul., 02:45, Florian Fiegel <[email protected]> wrote: > Hi, > > I get: <id>tag:openruhr.de,2009:free-software-foundation-europe- > unterstützt-openruhr/1248355223</id> > > Also underhttp://validator.w3.org/feed/check.cgi?url=http://openruhr.de/atom/1 > > I also found the part in the code: > In line 195 the title is encoded with htmlspecialchars() [the result > is seen above] > > The W3C-Validator indicates this as non standards compliant and refers > to percentage encoding [http://tools.ietf.org/html/rfc4151#section-2.1 > |http://tools.ietf.org/html/rfc3986#section-2.1]: > "Followed by any number of characters which are valid in a URI. > Special characters may be escaped using percent encoding." > > If i got it right htmlspecialchars() should in this case be replaced > by a sort of urlencoding and the problem should be fixed. > > regards, > Florian > > On 25 Jul., 00:50, Geoffrey Sneddon <[email protected]> wrote: > > > On 25 Jul 2009, at 00:14, Florian Fiegel wrote: > > > > So everything is valid except umlauts in <id>. The specs want them > > > like special chars given in percent keys. So there should be something > > > that fixes this for correct output. > > > They should be valid, as atom:id is an IRI. What is the invalid > > atom:id you are getting? > > > -- > > Geoffrey Sneddon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
