Github user khawkins commented on a diff in the pull request:

    https://github.com/apache/cordova-ios/pull/112#discussion_r18433085
  
    --- Diff: CordovaLib/cordova.js ---
    @@ -1017,7 +1010,7 @@ function pokeNativeViaXhr() {
         // Add a timestamp to the query param to prevent caching.
         execXhr.open('HEAD', "/!gap_exec?" + (+new Date()), true);
         if (!vcHeaderValue) {
    -        vcHeaderValue = /.*\((.*)\)/.exec(navigator.userAgent)[1];
    +        vcHeaderValue = /.*\((.*)\)$/.exec(navigator.userAgent)[1];
    --- End diff --
    
    In the wake of configurable user agents, this is more deterministic.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to