Class EvilManualUseragentStringHacks

java.lang.Object
nl.basjes.parse.useragent.parse.EvilManualUseragentStringHacks

public final class EvilManualUseragentStringHacks extends Object
  • Method Details

    • fixIt

      public static String fixIt(String useragent)
      There are a few situations where in order to parse the useragent we need to 'fix it'. Yes, all of this is pure evil but we "have to".
      Parameters:
      useragent - Raw useragent
      Returns:
      Cleaned useragent