Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

.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]
 
What's brown and sticky? ... a stick. Or a tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic