kopia lustrzana https://github.com/nextcloud/social
FIX: Encode search terms before creating the search URL
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/774/head
rodzic
a000613e55
commit
eca50cd168
|
@ -225,6 +225,7 @@ export default {
|
|||
})
|
||||
},
|
||||
search(term) {
|
||||
term = encodeURIComponent(term)
|
||||
this.searchTerm = term
|
||||
},
|
||||
resetSearch() {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{{ t('social', 'No results found') }}
|
||||
</h2>
|
||||
<p v-if="!loading">
|
||||
{{ t('social', 'There were no results for your search:') }} {{ term }}
|
||||
{{ t('social', 'There were no results for your search:') }} {{ decodeURIComponent(term) }}
|
||||
</p>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
|
Ładowanie…
Reference in New Issue