notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1762 - trunk/main/transit/core/src/main/net/dpml/transit/artifact
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1762 - trunk/main/transit/core/src/main/net/dpml/transit/artifact
- Date: Tue, 19 Sep 2006 23:43:55 +0200
Author: mcconnell
Date: 2006-09-19 23:43:55 +0200 (Tue, 19 Sep 2006)
New Revision: 1762
Modified:
trunk/main/transit/core/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
Log:
ensure query fragments are correctly handled
Modified:
trunk/main/transit/core/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
===================================================================
---
trunk/main/transit/core/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
2006-09-19 21:42:29 UTC (rev 1761)
+++
trunk/main/transit/core/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
2006-09-19 21:43:55 UTC (rev 1762)
@@ -276,6 +276,11 @@
if( j > 0 )
{
String s = spec.substring( 0, j );
+ String query = url.getQuery();
+ if( null != query )
+ {
+ s = s + "?" + query;
+ }
String version = url.getUserInfo();
if( null != version )
{
- r1762 - trunk/main/transit/core/src/main/net/dpml/transit/artifact, mcconnell at BerliOS, 09/19/2006
Archive powered by MHonArc 2.6.24.