Skip to content

Commit

Permalink
Fix values not copying into Url.Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
eygraber committed Mar 22, 2024
1 parent 505bc62 commit f9d6a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uri/src/commonMain/kotlin/com/eygraber/uri/Url.kt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public class Url internal constructor(
/**
* Constructs a new builder, copying the attributes from this Uri.
*/
override fun buildUpon(): Builder = Builder()
override fun buildUpon(): Builder = Builder(uri.buildUpon() as Uri.Builder)

/**
* Helper class for building or manipulating URL references. Not safe for
Expand Down

0 comments on commit f9d6a98

Please sign in to comment.