An unhandled internal application error occurs when clicking RSS feed button on a directory which contains a space.

44 views
Skip to first unread message

tjakko....@gmail.com

unread,
Oct 4, 2011, 5:00:21 AM10/4/11
to sventon...@googlegroups.com
Hi sventon support,

If the subversion directory contains a space then the RSS subscribe URL contains a '%2520' . Subscribing results then in

An unhandled internal application error has occured


Removing the 25 of %2520 gives the correct URL.

https://sventon.example.com/svn/xml/myrepo/rss/READ%2520MEs/?revision=HEAD

It seems that <space> is encoded to %20 and then % is encode to %25 which results then in %2520

I tried this in sventon 2.5.1 and in the svnkit verision and in the javaHL version.

sventon war file is deployed in tomcat6 with following connector settings:

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />

Is this a bug and is there a known solutions or workaround?
thanx anyway.


sventon project

unread,
Oct 6, 2011, 1:27:07 PM10/6/11
to sventon...@googlegroups.com
Hi & thanks for reporting!

You are correct - the URL is encoded twice by mistake.

Line 22 in the file "WEB-INF/jspf/pageFoot.jspf" should say:

<s:url value="/xml/${command.name}/rss${command.path}" var="rssUrl">

instead of

<s:url value="/xml/${command.name}/rss${command.encodedPath}" var="rssUrl">

I will fix this asap so it will be included in the next minor release.

Regards
Jesper


2011/10/4 <tjakko....@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "sventon support" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sventon-support/-/XUIBHiRZYSIJ.
> To post to this group, send email to sventon...@googlegroups.com.
> To unsubscribe from this group, send email to
> sventon-suppo...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sventon-support?hl=en.
>

Reply all
Reply to author
Forward
0 new messages