In an upcoming change, a watcher is set on $route.query.search and the updated value gets assigned to Header.vue's data.search value. The code addition is as follows:
This means if a user opens the link: http://<domain>/#/?search=example, the search input field will be populated with example.
With this implementation, any of the following characters will cause the search input field to not be populated, rather remaining blank: ! , ' # & ( ) %
The % causes an entire redirect to the name: sites route.
In an upcoming change, a
watcher
is set on$route.query.search
and the updated value gets assigned toHeader.vue
'sdata.search
value. The code addition is as follows:This means if a user opens the link:
http://<domain>/#/?search=example
, the search input field will be populated withexample
.With this implementation, any of the following characters will cause the search input field to not be populated, rather remaining blank:
! , ' # & ( ) %
The
%
causes an entire redirect to thename: sites
route.EDIT: The change has been committed: 10dd08d