Fixes issue #407 - improve UTM detection
This commit is contained in:
parent
bf9cfe2815
commit
7a2c3b5646
|
@ -202,9 +202,9 @@ public class Status implements Parcelable{
|
|||
|
||||
public void setContent(String content) {
|
||||
//Remove UTM by default
|
||||
this.content = content.replaceAll("&utm_\\w+=[0-9a-zA-Z]*", "");
|
||||
this.content = this.content.replaceAll("&utm_\\w+=[0-9a-zA-Z]*", "");
|
||||
this.content = this.content.replaceAll("\\?utm_\\w+=[0-9a-zA-Z]*", "?");
|
||||
this.content = content.replaceAll("&utm_\\w+=[0-9a-zA-Z._-]*", "");
|
||||
this.content = this.content.replaceAll("&utm_\\w+=[0-9a-zA-Z._-]*", "");
|
||||
this.content = this.content.replaceAll("\\?utm_\\w+=[0-9a-zA-Z._-]*", "?");
|
||||
}
|
||||
|
||||
public Status getReblog() {
|
||||
|
|
Loading…
Reference in New Issue