Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support query parameters in DZI tileSource URL #378

Merged
merged 3 commits into from
Apr 14, 2014

Conversation

heathn
Copy link
Contributor

@heathn heathn commented Apr 10, 2014

We have a need to pass a sessionId query parameter to be able to fetch images that may require a session in order to access those images. Before this change, if the tileSource was set to:
"/path/to/image.xml?param=value"

Subsequent tile URLs would look like "/path/to/image_files/?param=value0/0_0.jpg" which is obviously invalid. This change extracts any query parameters and appends them (if there are any) onto the tile URLs.

@iangilman
Copy link
Member

Looks good! The Travis build failed, but it looks like an unrelated issue. I've restarted it; we'll see what it says.

@iangilman
Copy link
Member

Okay, build looks good. Thanks for a lovely patch!

iangilman added a commit that referenced this pull request Apr 14, 2014
Support query parameters in DZI tileSource URL
@iangilman iangilman merged commit 82d5de2 into openseadragon:master Apr 14, 2014
iangilman added a commit that referenced this pull request Apr 14, 2014
@iangilman iangilman mentioned this pull request May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants