Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
genieacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
genieacs
Commits
deaec092
Commit
deaec092
authored
Apr 11, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACS should not fail if connection request URL is empty
parent
33891af8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Makefile
Makefile
+1
-0
genieacs-1.2.5-handle_empty_connection_URL.patch
genieacs-1.2.5-handle_empty_connection_URL.patch
+12
-0
No files found.
Makefile
View file @
deaec092
...
...
@@ -6,6 +6,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service acs-ui-service genieacs-con
tar
xf
genieacs-1.2.5.tar.gz
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-ping_fix.patch
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-handle_empty_connection_URL.patch
cd
genieacs-1.2.5
&&
npm
install
cd
genieacs-1.2.5
&&
NODE_OPTIONS
=
"--max-old-space-size=3072"
npm run build
...
...
genieacs-1.2.5-handle_empty_connection_URL.patch
0 → 100644
View file @
deaec092
diff -uNr genieacs-1.2.5/lib/connection-request.ts genieacs-1.2.5-handle_empty_connection_URL/lib/connection-request.ts
--- genieacs-1.2.5/lib/connection-request.ts 2021-03-13 10:06:19.000000000 +1030
+++ genieacs-1.2.5-handle_empty_connection_URL/lib/connection-request.ts 2025-04-11 10:43:01.511284274 +0930
@@ -94,6 +94,8 @@
_debug: boolean,
deviceId: string
): Promise<string> {
+ if (address === "") return "";
+
const options: http.RequestOptions = parse(address);
if (options.protocol !== "http:")
return "Invalid connection request URL or protocol";
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment