0

I tried for an hour, but I can't find the solution.

When my site form or link that missed the forward slash.

Also I found the link below, but there is no solution for the issue.

http://forum.joomla.org/viewtopic.php?p=2302843

  • No one know.... – SAM Jul 23 '15 at 18:21
  • i checked the code, JURI::getInstance() return without slash, how can change override this – SAM Jul 24 '15 at 1:50
3

I haven't seen any of your code, but there is one thing you need to remember.

When using JUri::root() or JUri::base() etc, if you use true, then the forward slash will be omitted, for example:

JUri::root()

will return:

http://example.com/something/

and

JUri::root(true)

will return:

something

  • Sorry, made a mistake with the URL before, updated now – Lodder Jul 27 '15 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.