Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: coder4life/Kunena-Forum
...
head fork: coder4life/Kunena-Forum
Checking mergeability… Don't worry, you can still create the pull request.
  • 8 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
1  administrator/components/com_kunena/libraries/upload/upload.php
@@ -168,6 +168,7 @@ protected function sendResponse() {
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
while(@ob_end_clean());
+ ob_start();
$error = $this->getError();
if ($error) {
jexit('{"error" : '.$error.'", "id" : "id"}');
View
2  components/com_kunena/controllers/user.php
@@ -216,7 +216,7 @@ function login() {
}
function logout() {
- if(!JRequest::checkToken()) {
+ if(!JRequest::checkToken('request')) {
$this->app->redirect ( JRequest::getVar ( 'HTTP_REFERER', JURI::base ( true ), 'server' ), COM_KUNENA_ERROR_TOKEN, 'error' );
}
View
2  components/com_kunena/template/mirage/html/common/logout.php
@@ -34,7 +34,7 @@
<button class="kbutton button-type-standard" type="submit"><span><?php //echo JText::_('COM_KUNENA_PROFILEBOX_LOGOUT') ?></span></button>
</fieldset>
</form>-->
- <a class="link" href="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=user&task=logout') ?>">
+ <a class="link" href="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=user&task=logout&'.JUtility::getToken().'=1') ?>" title="<?php echo JText::_('COM_KUNENA_PROFILEBOX_LOGOUT') .' :: '. JText::_('COM_KUNENA_VIEW_COMMON_LOGOUT_LONG') ?>">
<?php echo JText::_('COM_KUNENA_PROFILEBOX_LOGOUT') ?>
</a>
</li>
View
5 components/com_kunena/template/mirage/html/search/default.php
@@ -23,8 +23,8 @@
?>
<div class="kmodule search_adv">
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=search') ?>" name="adminForm" id="adminForm" method="post">
- <input type="hidden" name="task" value="results" />
- <?php echo JHTML::_( 'form.token' ); ?>
+ <input type="hidden" name="task" value="results" />
+ <?php echo JHTML::_( 'form.token' ); ?>
<div class="kbox-wrapper kbox-full">
<div class="search_adv-kbox kbox kbox-full kbox-color kbox-border kbox-border_radius kbox-border_radius-vchild kbox-shadow">
<div class="headerbox-wrapper kbox-full">
@@ -110,7 +110,6 @@
</div>
</div>
</div>
- </form>
</div>
</div>
</form>

No commit comments for this range

Something went wrong with that request. Please try again.