added invalid char check when searching for hashtags
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@100646 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
344273b08f
commit
61c31fd6d4
|
@ -277,7 +277,7 @@ public class NewsFeedPanel extends Composite {
|
|||
else if (getHashtagParam() != null) {
|
||||
String hashtag = "";
|
||||
try {
|
||||
Encoder.decode(getHashtagParam());
|
||||
hashtag = Encoder.decode(getHashtagParam());
|
||||
} catch (Exception e) {
|
||||
newsPanel.clear();
|
||||
newsPanel.add(new HTML("<div class=\"nofeed-message\"><div style=\"padding-top: 90px;\">" +
|
||||
|
|
Loading…
Reference in New Issue