Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
miniflux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
miniflux
Commits
a7436d1c
Verified
Commit
a7436d1c
authored
3 months ago
by
cyrinux
Browse files
Options
Downloads
Patches
Plain Diff
fix: Google Reader API: Fix incorrect ParseInt
parent
7d2ae9e1
No related branches found
No related tags found
No related merge requests found
Pipeline
#34536
passed
3 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/googlereader/handler.go
+1
-1
1 addition, 1 deletion
internal/googlereader/handler.go
with
1 addition
and
1 deletion
internal/googlereader/handler.go
+
1
−
1
View file @
a7436d1c
...
@@ -372,7 +372,7 @@ func getItemIDs(r *http.Request) ([]int64, error) {
...
@@ -372,7 +372,7 @@ func getItemIDs(r *http.Request) ([]int64, error) {
var
itemID
int64
var
itemID
int64
_
,
err
:=
fmt
.
Sscanf
(
item
,
EntryIDLong
,
&
itemID
)
_
,
err
:=
fmt
.
Sscanf
(
item
,
EntryIDLong
,
&
itemID
)
if
err
!=
nil
{
if
err
!=
nil
{
itemID
,
err
=
strconv
.
ParseInt
(
item
,
1
6
,
64
)
itemID
,
err
=
strconv
.
ParseInt
(
item
,
1
0
,
64
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"googlereader: could not parse item: %v"
,
item
)
return
nil
,
fmt
.
Errorf
(
"googlereader: could not parse item: %v"
,
item
)
}
}
...
...
This diff is collapsed.
Click to expand it.
cyrinux
@cyrinux
mentioned in commit
7ecf2b88
·
3 months ago
mentioned in commit
7ecf2b88
mentioned in commit 7ecf2b88e414d635cf33f4e5c46f9a4c621c0373
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment