Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Admin
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Admin
Commits
a2df1c9b
Commit
a2df1c9b
authored
11 months ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
Fix #1849
parent
6919bd27
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Gemfile.lock
+17
-17
17 additions, 17 deletions
Gemfile.lock
app/services/static.rb
+4
-0
4 additions, 0 deletions
app/services/static.rb
with
21 additions
and
17 deletions
Gemfile.lock
+
17
−
17
View file @
a2df1c9b
...
...
@@ -123,17 +123,17 @@ GEM
autoprefixer-rails (10.4.16.0)
execjs (~> 2)
aws-eventstream (1.3.0)
aws-partitions (1.9
08
.0)
aws-sdk-core (3.19
1.6
)
aws-partitions (1.9
21
.0)
aws-sdk-core (3.19
3.0
)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.
7
8.0)
aws-sdk-core (~> 3, >= 3.19
1
.0)
aws-sdk-kms (1.8
0
.0)
aws-sdk-core (~> 3, >= 3.19
3
.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.14
6.1
)
aws-sdk-core (~> 3, >= 3.19
1
.0)
aws-sdk-s3 (1.14
8.0
)
aws-sdk-core (~> 3, >= 3.19
3
.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
...
...
@@ -213,7 +213,7 @@ GEM
delayed_job (> 2.0.3)
rack-protection (>= 1.5.5)
sinatra (>= 1.4.4)
devise (4.9.
3
)
devise (4.9.
4
)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
...
...
@@ -252,7 +252,7 @@ GEM
multipart-post (~> 2)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.
0
)
faraday-retry (2.2.
1
)
faraday (~> 2.0)
fastimage (2.3.1)
ffi (1.16.3)
...
...
@@ -393,11 +393,11 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.1)
nokogiri (1.16.
3
-arm64-darwin)
nokogiri (1.16.
4
-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.
3
-x86_64-darwin)
nokogiri (1.16.
4
-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.
3
-x86_64-linux)
nokogiri (1.16.
4
-x86_64-linux)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
...
...
@@ -428,7 +428,7 @@ GEM
orthotypo (1.0.4)
htmlentities
nokogiri
parser (3.3.
0.5
)
parser (3.3.
1.0
)
ast (~> 2.4.1)
racc
pexels (0.5.0)
...
...
@@ -495,12 +495,12 @@ GEM
ffi (~> 1.0)
rdoc (6.6.3.1)
psych (>= 4.0.0)
redis (5.
1
.0)
redis-client (>= 0.
17
.0)
redis-client (0.2
0.0
)
redis (5.
2
.0)
redis-client (>= 0.
22
.0)
redis-client (0.2
2.1
)
connection_pool
regexp_parser (2.9.0)
reline (0.5.
0
)
reline (0.5.
3
)
io-console (~> 0.5)
requests (1.0.2)
require_all (3.0.0)
...
...
@@ -570,7 +570,7 @@ GEM
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
spring (4.
1.3
)
spring (4.
2.1
)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
...
...
This diff is collapsed.
Click to expand it.
app/services/static.rb
+
4
−
0
View file @
a2df1c9b
...
...
@@ -40,6 +40,10 @@ class Static
# /u2028 breaks Hugo rendering
# https://github.com/noesya/pixelis-rapportglobal2023/issues/1
code
=
code
.
remove
(
"
\u
2028"
.
encode
(
'utf-8'
))
# /u0092 also breaks everything, should be an apostrophe
code
=
code
.
gsub
(
"
\u
0092"
.
encode
(
'utf-8'
),
"'"
)
# Same operation with the problematic character itself
code
=
code
.
gsub
(
""
,
"'"
)
code
end
end
This diff is collapsed.
Click to expand it.
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