simonwhitaker/app-id-sanity — Issue #1: Activation fails because of jsessionids
Author: pollito-fr
Created: 2011-12-01 18:30:07+00:00
State: open

Hi,

First of all, your work is awesome ;-) But when i first tried it, nothing happened :'( So i grabbed the code ...

In sanity.js at line 36:

```js
if (document.location.href.match('/manage/bundles/index.action$')) {
```

Unfortunately, my Safari appends the java session id at the end of the url. Something like:
https://developer.apple.com/ios/manage/bundles/index.action;jsessionid=XXXXXXXXXXXX.worker2

The same problem shows up on line 92.

I'm not familiar with GIT so i dunno how to make a patch. Instead, here is my proposal (to be applied in both locations):

```js
if (document.location.href.match('/manage/bundles/index.action(;jsessionid=.+)?$')) {
```

Best regards.
Jay