You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIS 8.5 (Windows Server 2012) logs an empty query string as a dash '-' which the Piwik importer picks up and appends '?-' to all URLs. This change to import_logs.py checks for '-' as a query parameter and excludes it.
Around line 1575:
----------------
try:
hit.query_string = format.get('query_string')
hit.path = hit.full_path
except BaseFormatException:
hit.path, _, hit.query_string = hit.full_path.partition(config.options.query_string_delimiter)
Changed to exclude '-' because IIS defaults to '-' if there is no query string.
----------------
try:
hit.query_string = format.get('query_string')
if hit.query_string == '-':
hit.query_string = ''
hit.path = hit.full_path
except BaseFormatException:
hit.path, _, hit.query_string = hit.full_path.partition(config.options.query_string_delimiter)
The text was updated successfully, but these errors were encountered:
IIS 8.5 (Windows Server 2012) logs an empty query string as a dash '-' which the Piwik importer picks up and appends '?-' to all URLs. This change to import_logs.py checks for '-' as a query parameter and excludes it.
The text was updated successfully, but these errors were encountered: