• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

.page extension hardcoded

 
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]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!