CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 18:40:29 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/w3c/epubcheck.git
etag: W/"180e3bd6c739c87b034607f97263fc6e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=p8P6JDtaEiD6IiU%2FVJJcrQOBSzjq2n%2BE6Ue8NQ0eefloZDP9WlzWqtZBev46uWYfEJxVElMW%2FcJO4uez%2BYdUVX2NSeB8bGpK1kiVjDu5j3yfyyrUiJ77QSY0l8UkdLvHfkBn0ilYBw7qmZ3GH%2FPrjAImZTFF2mrEJdAQT3Mr7tj66gXRE06FNTIPYfA%2B7yXXpqYEYBORbheLk5I3wqBWKmM4v4yJQJxG0yArIU%2F5U4HAAhU9VIJNIlOg5QCDH%2FRfrgtrRZelys6O%2FxKbGNaZNg%3D%3D--VGzdJNe8nJQmy2%2FJ--VXumAacOZPds6wyyjA55KA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.77468980.1752518428; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 18:40:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 18:40:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D2E8:3801A9:15CBA81:1AE8957:68754F1C
fix: remove the user directory only at the start of paths (in messages) · w3c/epubcheck@5ee72e7 · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/reporting/CheckerMetadata.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/PathUtil.java
Copy file name to clipboardExpand all lines: src/test/java/com/adobe/epubcheck/util/PathUtilTest.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 5ee72e7
committed
fix: remove the user directory only at the start of paths (in messages)
The previous implementation of the `removeWorkingDirectory` utility
method was quite brutal and replaced all occurences of the "user.dir"
system property in paths, even when found in the middle of the path.
The new implementation only replaces the user directory when it occurs
at the beginning of the path, and does nothing when the user directory
is set to the root directory ("/").
Tests included.
Fixes #11811 parent edcd253 commit 5ee72e7Copy full SHA for 5ee72e7
File tree
Expand file treeCollapse file tree
3 files changed
+42
-20
lines changedFilter options
- src
- main/java/com/adobe/epubcheck
- reporting
- util
- test/java/com/adobe/epubcheck/util
Expand file treeCollapse file tree
3 files changed
+42
-20
lines changedsrc/main/java/com/adobe/epubcheck/reporting/CheckerMetadata.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/reporting/CheckerMetadata.java-2Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 | 37 |
| |
40 | 38 |
| |
41 | 39 |
| |
|
src/main/java/com/adobe/epubcheck/util/PathUtil.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/PathUtil.java+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
| |||
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
154 |
| - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 |
| |
156 | 159 |
| |
157 | 160 |
| |
|
src/test/java/com/adobe/epubcheck/util/PathUtilTest.java
Copy file name to clipboardExpand all lines: src/test/java/com/adobe/epubcheck/util/PathUtilTest.java+37-16Lines changed: 37 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
| |||
15 | 14 |
| |
16 | 15 |
| |
17 | 16 |
| |
18 |
| - | |
| 17 | + | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
24 |
| - | |
| 23 | + | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
30 |
| - | |
31 |
| - | |
| 29 | + | |
32 | 30 |
| |
33 | 31 |
| |
34 | 32 |
| |
| |||
131 | 129 |
| |
132 | 130 |
| |
133 | 131 |
| |
134 |
| - | |
| 132 | + | |
135 | 133 |
| |
136 | 134 |
| |
137 | 135 |
| |
| |||
174 | 172 |
| |
175 | 173 |
| |
176 | 174 |
| |
177 |
| - | |
| 175 | + | |
178 | 176 |
| |
179 | 177 |
| |
180 | 178 |
| |
| |||
188 | 186 |
| |
189 | 187 |
| |
190 | 188 |
| |
191 |
| - | |
| 189 | + | |
192 | 190 |
| |
193 | 191 |
| |
194 | 192 |
| |
195 |
| - | |
| 193 | + | |
| 194 | + | |
196 | 195 |
| |
197 |
| - | |
| 196 | + | |
198 | 197 |
| |
199 | 198 |
| |
200 | 199 |
| |
201 |
| - | |
| 200 | + | |
| 201 | + | |
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
207 |
| - | |
| 207 | + | |
| 208 | + | |
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
213 |
| - | |
| 214 | + | |
| 215 | + | |
214 | 216 |
| |
215 |
| - | |
| 217 | + | |
216 | 218 |
| |
217 | 219 |
| |
218 | 220 |
| |
| |||
229 | 231 |
| |
230 | 232 |
| |
231 | 233 |
| |
232 |
| - | |
| 234 | + | |
233 | 235 |
| |
234 | 236 |
| |
235 | 237 |
| |
236 | 238 |
| |
237 | 239 |
| |
238 | 240 |
| |
239 | 241 |
| |
240 |
| - | |
| 242 | + | |
241 | 243 |
| |
242 | 244 |
| |
243 | 245 |
| |
| |||
255 | 257 |
| |
256 | 258 |
| |
257 | 259 |
| |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
258 | 279 |
|
You can’t perform that action at this time.
0 commit comments