From e9b7737692041ac3ac0ef0a8883ffffde20692b9 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 31 Oct 2023 22:06:21 -0400 Subject: [PATCH] Escape net names coming from aliases Fixes https://gitlab.com/kicad/code/kicad/-/issues/15212 (cherry picked from commit 24e613f60c411f8136e8badc7f8cfd1ecafe0ba8) --- eeschema/sch_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_connection.cpp b/eeschema/sch_connection.cpp index dc08548090..e9bf24d89d 100644 --- a/eeschema/sch_connection.cpp +++ b/eeschema/sch_connection.cpp @@ -180,7 +180,7 @@ void SCH_CONNECTION::ConfigureFromLabel( const wxString& aLabel ) auto member = std::make_shared< SCH_CONNECTION >( m_parent, m_sheet ); member->SetPrefix( prefix ); member->SetGraph( m_graph ); - member->ConfigureFromLabel( alias_member ); + member->ConfigureFromLabel( EscapeString( alias_member, CTX_NETNAME ) ); m_members.push_back( member ); } }