Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.page extension hardcoded

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are number of files which have URLs with .page extension hardcoded instead of reading it form config file. This should be fixed in most (all?) files
Specifically:
JForum-2.1.3/templates/default/admin/macros/group_macros.ftl
JForum-2.1.3/templates/mail/mailNewReply.txt
JForum-2.1.3/templates/mail/pt_BR/mailNewReply.txt
JForum-2.1.3/index.htm
JForum-2.1.3/new_rename.htm
JForum-2.1.3/WEB-INF/web.xml (<url-pattern>*.page</url-pattern> )
JForum-2.1.3/src/net/jforum/InstallServlet.java

[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right.. as of version 2.1.4, mailNewReply.txt does not have anymore the hardcoded url. About the group_macros.ftl, I"ll fix it, but for the files

index.htm
web.xml

it will not be possible to not keep it harcoded. For

new_rename.htm
InstallServlet.java

I guess I can remove the hardcoded extension. I'll see what I can do.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic