Skip to content

Commit

Permalink
Merge pull request pkp#3537 from NateWr/i4569_url_escape
Browse files Browse the repository at this point in the history
pkp/pkp-lib#4569 Don't double-escape URLs
  • Loading branch information
NateWr authored Sep 6, 2022
2 parents 06ec536 + 7cd456a commit eb23700
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/frontend/pages/indexSite.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
<li{if $thumb} class="has_thumb"{/if}>
{if $thumb}
<div class="thumb">
<a href="{$url|escape}">
<a href="{$url}">
<img src="{$journalFilesPath}{$journal->getId()}/{$thumb.uploadName|escape:"url"}"{if $thumb.altText} alt="{$thumb.altText|escape|default:''}"{/if}>
</a>
</div>
{/if}

<div class="body">
<h3>
<a href="{$url|escape}" rel="bookmark">
<a href="{$url}" rel="bookmark">
{$journal->getLocalizedName()}
</a>
</h3>
Expand All @@ -52,12 +52,12 @@
{/if}
<ul class="links">
<li class="view">
<a href="{$url|escape}">
<a href="{$url}">
{translate key="site.journalView"}
</a>
</li>
<li class="current">
<a href="{url|escape journal=$journal->getPath() page="issue" op="current"}">
<a href="{url journal=$journal->getPath() page="issue" op="current"}">
{translate key="site.journalCurrent"}
</a>
</li>
Expand Down

0 comments on commit eb23700

Please sign in to comment.