roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ROL-2141) Bad Atom/RSS content when blog contains FF
Date Mon, 10 Jun 2019 19:07:00 GMT

    [ https://issues.apache.org/jira/browse/ROL-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860260#comment-16860260
] 

Sebb edited comment on ROL-2141 at 6/10/19 7:06 PM:
----------------------------------------------------

I have been able to reproduce this locally when using jetty:run on 5.2.3-rc2.

Edit a file containing something like:
 aaa<FF>
 bbb

Select and copy it to the paste buffer, then paste into a new blog page.
 Then select one of the Atom feeds; you should see something like:

{{XML Parsing Error: not well-formed}}
{{Location: [http://localhost:8080/roller/blog/feed/entries/atom]}}
{{Line Number 20, Column 33:}}
<content type="html">aaa
{{--------------------------------^}}


was (Author: sebb@apache.org):
I have been able to reproduce this locally when using jetty:run on 5.2.3-rc2.

Edit a file containing something like:
 aaa<FF>
 bbb

Select and copy it to the paste buffer, then paste into a new blog page.
 Then select one of the Atom feeds; you should see something like:

{{XML Parsing Error: not well-formed}}
{{Location: [http://localhost:8080/roller/blog/feed/entries/atom]}}
{{Line Number 20, Column 33:}}
{{ <content type="html">aaa}}
{{--------------------------------^}}

> Bad Atom/RSS content when blog contains FF
> ------------------------------------------
>
>                 Key: ROL-2141
>                 URL: https://issues.apache.org/jira/browse/ROL-2141
>             Project: Apache Roller
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Roller Unassigned
>            Priority: Major
>
> The ASF site generation started failing recently with the following error:
> --- cut here ---
> Updated /usr/home/cmsslave/slave15/www-site-staging/build/trunk to revision 1860776.
> Updated /usr/local/websites/www/trunk to revision 1045957.
> Building content/index.html ...
> Error while rendering output to string
>  :253: parser error : PCDATA invalid Char value 12
> # # #<FF>
>      ^
> . at /usr/local/cms/build/lib/ASF/View.pm line 117
> --- cut here ---
> It looks like the blog source must have contained a Formfeed.
> Whilst this is not normal for a blog, it should not cause invalid Atom/RSS to be generated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message