• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

.page extension hardcoded

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
This tiny ad will self destruct in five seconds.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic