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

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

1 Answer 1

2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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